The BCRYPT_KEY_DATA_BLOB_HEADER structure is used to contain information about a key data BLOB. The key data BLOB must immediately follow this structure in memory.
typedef struct _BCRYPT_KEY_DATA_BLOB_HEADER {
ULONG dwMagic;
ULONG dwVersion;
ULONG cbKeyData;
} BCRYPT_KEY_DATA_BLOB_HEADER, *PBCRYPT_KEY_DATA_BLOB_HEADER;
dwMagic
The magic value for the key.
dwVersion
Contains the numeric version of the key.
cbKeyData
The size, in bytes, of the key data.
Header: Declared in bcrypt.h.
Library: Use bcrypt.lib.