|
From: Claudius T. <cla...@gm...> - 2017-07-12 14:28:50
|
Hi, The function crypto:validate-signature() indeed needs the key info (KeyValue element) to be inside the signed XML doc (as the example validateEnvelopedDigitalSignature.xq shows, where the validated signature is of enveloped type). The $certificate-details variable is not used in that example, but it is there for some future developments (see div3[@id = 'explanations-about-parameters-parameter-of-crypto:encrypt' at https://raw.githubusercontent.com/expath/expath-cg/master/specs/crypto/crypto.xml). Claudius -- View this message in context: http://exist.2174344.n4.nabble.com/Questions-about-exist-crypto-lib-validate-signature-tp4672375p4672389.html Sent from the exist-open mailing list archive at Nabble.com. |