RE: Getting 0x8009000b Error for CryptExportKey
From: Jeffrey Tan[MSFT] (v-jetan_at_online.microsoft.com)
Date: 11/22/05
- Next message: Leonid: "Re: How to create signed crypto message (p7m)"
- Previous message: rounner_at_yahoo.com: "Re: How to create signed crypto message (p7m)"
- Next in thread: Jeffrey Tan[MSFT]: "RE: Getting 0x8009000b Error for CryptExportKey"
- Maybe reply: Jeffrey Tan[MSFT]: "RE: Getting 0x8009000b Error for CryptExportKey"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 22 Nov 2005 02:22:52 GMT
Yes, I agree with Laszlo Elteto. The 0x8009000b error code is actually
NTE_BAD_KEY_STATE constant value in SDK, which means "You do not have
permission to export the key. That is, when the hKey key was created, the
CRYPT_EXPORTABLE flag was not specified.". So you should check if your key
is generated with CRYPT_EXPORTABLE flag. Thanks
Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
- Next message: Leonid: "Re: How to create signed crypto message (p7m)"
- Previous message: rounner_at_yahoo.com: "Re: How to create signed crypto message (p7m)"
- Next in thread: Jeffrey Tan[MSFT]: "RE: Getting 0x8009000b Error for CryptExportKey"
- Maybe reply: Jeffrey Tan[MSFT]: "RE: Getting 0x8009000b Error for CryptExportKey"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|