BCRYPT_KEY_DATA_BLOB_HEADER Structure

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.

Syntax

typedef struct _BCRYPT_KEY_DATA_BLOB_HEADER {
    ULONG dwMagic;
    ULONG dwVersion;
    ULONG cbKeyData;
} BCRYPT_KEY_DATA_BLOB_HEADER, *PBCRYPT_KEY_DATA_BLOB_HEADER;  

Members

dwMagic
The magic value for the key.

dwVersion
Contains the numeric version of the key.

cbKeyData
The size, in bytes, of the key data.

Requirements

Header: Declared in bcrypt.h.

Library: Use bcrypt.lib.