2.4.1 PUBLICKEYBLOB

The PUBLICKEYBLOB type is used to export public keys for use with the RSA key exchange algorithm ([PKCS1], [RFC3447]) from a receiver to senders for use in sending encrypted messages to that receiver.


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

0x06

0x02

0x00

0x00

0x00

0xA4

0x00

0x00

0x52

0x53

0x41

0x31

bitLen

pubExp

modulus (variable)

...

bitLen (4 bytes): A 32-bit unsigned number in little-endian format. MUST be the bit length of the RSA modulus, defined as k*8 in the terminology of [RFC3447] section 2.

pubExp (4 bytes): A 32-bit unsigned number in little-endian format. MUST be the public exponent of the key pair, referred to as e in [RFC3447] section 2.

modulus (variable): The RSA modulus, referred to as n in [RFC3447] section 2. This field MUST be encoded in little-endian format. Its length in bits MUST be equal to the value in the bitLen field.