File tree 2 files changed +2
-3
lines changed
2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 20
20
"ejs" : " ~0.8.3" ,
21
21
"saml" : " ^0.9.0" ,
22
22
"thumbprint" : " 0.0.1" ,
23
- "xml-crypto" : " 0.0.13 " ,
23
+ "xml-crypto" : " 0.8.1 " ,
24
24
"xmldom" : " ~0.1.15" ,
25
25
"xpath" : " 0.0.5" ,
26
26
"xtend" : " ~1.0.3"
32
32
"request" : " ~2.14.0" ,
33
33
"xmldom" : " ~0.1.13" ,
34
34
"cheerio" : " ~0.10.7" ,
35
- "xml-crypto" : " 0.0.10" ,
36
35
"xpath" : " 0.0.5"
37
36
}
38
37
}
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ var xmlCrypto = require('xml-crypto'),
4
4
exports . verifySignature = function ( assertion , cert ) {
5
5
try {
6
6
var doc = new xmldom . DOMParser ( ) . parseFromString ( assertion ) ;
7
- var signature = xmlCrypto . xpath . SelectNodes ( doc , "/*/*[local-name(.)='Signature' and namespace-uri(.)='http://www.w3.org/2000/09/xmldsig#']" ) [ 0 ] ;
7
+ var signature = xmlCrypto . xpath ( doc , "/*/*[local-name(.)='Signature' and namespace-uri(.)='http://www.w3.org/2000/09/xmldsig#']" ) [ 0 ] ;
8
8
var sig = new xmlCrypto . SignedXml ( null , { idAttribute : 'AssertionID' } ) ;
9
9
sig . keyInfoProvider = {
10
10
getKeyInfo : function ( key ) {
You can’t perform that action at this time.
0 commit comments