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) _______________________________________________ xmlsec mailing list [email protected] http://www.aleksey.com/mailman/listinfo/xmlsec
