Sha256: 0d9ed2cbfdae7665858e8d4ee047a438e92e4dd7814bd09adb3f135cb0e87653
Contents?: true
Size: 455 Bytes
Versions: 5
Compression:
Stored size: 455 Bytes
Contents
require 'test_helper' require 'xml_security' class XmlSecurityTest < Test::Unit::TestCase include XMLSecurity context "XmlSecurity" do setup do @document = XMLSecurity::SignedDocument.new(Base64.decode64(response_document)) end should "should run validate without throwing NS related exceptions" do base64cert = @document.elements["//ds:X509Certificate"].text @document.validate_doc(base64cert, true) end end end
Version data entries
5 entries across 5 versions & 1 rubygems