[xmlsec] How to extract x509 certificate

Aleksey Sanin aleksey at aleksey.com
Fri Nov 19 08:16:57 PST 2004


1) http://www.aleksey.com/xmlsec/api/xmlsec-xmldsig.html#XMLSECDSIGCTX
Key is in the signKey member

2) http://www.aleksey.com/xmlsec/api/xmlsec-keys.html#XMLSECKEYGETDATA
You need to use xmlSecMSCryptoKeyDataX509Id for key data id.

3) 
http://www.aleksey.com/xmlsec/api/xmlsec-mscrypto-x509.html#XMLSECMSCRYPTOKEYDATAX509GETKEYCERT
and then use Windows functions to do whatever you want.

Aleksey



More information about the xmlsec mailing list