2.4.1 PUBLICKEYBLOB
The PUBLICKEYBLOB type is used to export public keys for use with the RSA key exchange algorithm ([RFC8017]) 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 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 [RFC8017] 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 [RFC8017] section 2.
modulus (variable): The RSA modulus, referred to as n in [RFC8017] 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.