CryptExportKey (ADVAPI32.@)
BOOL CryptExportKey ( HCRYPTKEY hKey, HCRYPTKEY hExpKey, DWORD dwBlobType, DWORD dwFlags, BYTE* pbData, DWORD* pdwDataLen )
Exports a cryptographic key from a CSP.
| hKey | [In] | Handle to the key to export. |
| hExpKey | [In] | Handle to a cryptographic key of the end user. |
| dwBlobType | [In] | Type of BLOB to be exported. |
| dwFlags | [In] | CRYPT_DESTROYKEY/SSL2_FALLBACK/OAEP. |
| pbData | [Out] | Buffer to receive BLOB data. |
| pdwDataLen | [In/Out] | Specifies the size of pbData. |
Success: TRUE
Failure: FALSE.
if pbData is NULL, CryptExportKey sets pdwDataLen as the size of the buffer needed to hold the BLOB.
Defined in "wincrypt.h".
Implemented in "dlls/advapi32/crypt.c". source.winehq.org/source/dlls/advapi32/crypt.c
Debug channel "crypt".
Copyright © 2006 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Dec 2006.