2.2.3.1.4 CPA Public Key
The CPA Public Key structure contains an encoding of the public key used to sign the certified peer address (CPA).
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Field Length |
Algorithm ObjId Length |
||||||||||||||||||||||||||||||
Reserved |
PublicKey cbData |
||||||||||||||||||||||||||||||
PublicKey Unused |
Algorithm ObjId (variable) |
||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
PublicKey Data (variable) |
|||||||||||||||||||||||||||||||
... |
Field Length (2 bytes): The size, in little-endian byte order, of the structure in bytes.
Algorithm ObjId Length (2 bytes): The size, in little-endian byte order, of the Algorithm ObjId string in bytes. MUST be set to 0x0014 (20 bytes).
Reserved (2 bytes): MUST be set to zero when sent and MUST be ignored on receipt.
PublicKey cbData (2 bytes): The size, in little-endian byte order, of the PublicKey Data field, in bytes. MUST be 0x008C.
PublicKey Unused (1 byte): MUST be set to zero when sent and MUST be ignored on receipt.
Algorithm ObjId (variable): An ASCII ASN.1-encoded object identifier (OID) indicating the public key format, MUST be the same as the rsaEncryption, as specified in [RFC8017] section A.1.
PublicKey Data (variable): An ASN.1-encoded 1024-bit RSA public key, as specified in [RFC8017] section A.1.1.