Windows Dev Center

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.

This member must be the following value.

BCRYPT_KEY_DATA_BLOB_MAGIC (0x4d42444b)
dwVersion

Contains the numeric version of the key.

ValueMeaning
BCRYPT_KEY_DATA_BLOB_VERSION1
1

Version 1.

 

cbKeyData

The size, in bytes, of the key data.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Bcrypt.h

See also

BCryptExportKey
BCryptImportKey

 

 

Community Additions

ADD
Show:
© 2015 Microsoft