2.2.19 BLOBHEADER

The BLOBHEADER structure indicates a key's binary large object (BLOB) type and the algorithm that the key uses.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

bType

bVersion

wReserved

aiKeyAlg

bType (1 byte): An unsigned 8-bit integer that MUST contain the key BLOB type. The following key BLOB type is defined.<8>

Value

Meaning

PUBLICKEYBLOB

0x06

The key is a public key.

bVersion (1 byte): An unsigned 8-bit integer that contains the version number of the BLOBHEADER. The only value supported by this protocol is 0x02.

wReserved (2 bytes): An unsigned 16-bit integer that MUST be set to zero.

aiKeyAlg (4 bytes): An unsigned 32-bit integer that specifies the key algorithm. The following algorithm identifiers are defined.<9>

Value

Meaning

CALG_RSA_KEYX

0x0000a400

RSA public key exchange algorithm.

CALG_RSA_SIGN

0x00002400

RSA public key signature algorithm.