xml-crypto
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -206,3 +206,3 @@ var select = require('./xpath.js').SelectNodes | ||
this.references = [] | ||
var references = select(doc, "//*[local-name(.)='Reference']") | ||
var references = select(doc, "//*[local-name(.)='SignedInfo']/*[local-name(.)='Reference' and namespace-uri(.)='http://www.w3.org/2000/09/xmldsig#']") | ||
if (references.length == 0) throw "could not find any Reference elements" | ||
@@ -209,0 +209,0 @@ |
{ | ||
"name": "xml-crypto", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "Xml digital signature and encryption library for Node.js", | ||
@@ -5,0 +5,0 @@ "engines": { "node": ">=0.4.0" }, |
@@ -271,3 +271,4 @@ var select = require('../lib/xpath.js').SelectNodes | ||
passValidSignature(test, "./test/static/valid_signature.xml") | ||
passValidSignature(test, "./test/static/valid_signature wsu.xml", "wssecurity") | ||
passValidSignature(test, "./test/static/valid_signature wsu.xml", "wssecurity") | ||
passValidSignature(test, "./test/static/valid_signature_with_reference_keyInfo.xml") | ||
test.done() | ||
@@ -274,0 +275,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
310038
45
5058