[xmlsec] xmlSecMSCryptoKeyDataAdoptCert

Dmitry Belyavsky beldmit at cryptocom.ru
Tue Jan 10 00:55:47 PST 2006


Greetings!

I've found out it's necessary to call CryptAcquireCertificatePrivateKey
with CRYPT_ACQUIRE_COMPARE_KEY_FLAG instead of
CRYPT_ACQUIRE_USE_PROV_INFO_FLAG. It should be done in some particular
cases, for example, when private key is placed in hardware token.

How can I pass the flag to the function xmlSecMSCryptoKeyDataAdoptCert
calling CryptAcquireCertificatePrivateKey? It seems to be not a good
idea to add this flag to xmlSecKeyDataType passed to
xmlSecMSCryptoKeyDataAdoptCert.

Thank you!

-- 
SY, Dmitry Belyavsky (ICQ UIN 11116575)




More information about the xmlsec mailing list