Platform SDK: Cryptography |
The BLOBHEADER structure indicates a key's BLOB type and the algorithm that the key uses. One of these structures is located at the beginning of the pbData member of every key BLOB.
This structure is not limited to the key BLOBs generated by the PROV_RSA_BASE and PROV_RSA_SIG provider types. The pbData member of any new key BLOB type must begin with this structure.
typedef struct _PUBLICKEYSTRUC { BYTE bType; BYTE bVersion; WORD reserved; ALG_ID aiKeyAlg; } BLOBHEADER, PUBLICKEYSTRUC;
PUBLICKEYBLOBs are used to transport public keys, PRIVATEKEYBLOBs are used to transport public/private key pairs, SIMPLEBLOBs are used to transport session keys, and SYMMETRICWRAPKEYBLOBs are used to export and import a symmetric key wrapped with another symmetric key.
Windows NT/2000: Requires Windows NT 4.0 SP3 or later (or Windows NT 4.0 with Internet Explorer 3.02 or later).
Windows 95/98: Requires Windows 98 (or Windows 95 with Internet Explorer 3.02 or later).
Header: Declared in Wincrypt.h.