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.










1 









2 









3 


0x06 
0x02 
0x00 
0x00 

0x00 
0xA4 
0x00 
0x00 

0x52 
0x53 
0x41 
0x31 

bitLen 

pubExp 

modulus (variable) 

... 
bitLen (4 bytes): A 32bit unsigned number in littleendian 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 32bit unsigned number in littleendian 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 littleendian format. Its length in bits MUST be equal to the value in the bitLen field.