2.2.3.1.1.1 Encoded CPA Structure

The encoded CPA structure contains information that links a service endpoint to a key.


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

Reserved

Signature (variable)

...

Protocol Major Version

Protocol Minor Version

Security Profile Major Version

Security Profile Minor Version

Key Length

Key (32 bytes)

...

...

...

Nonce Length

Nonce (16 bytes)

...

...

Public Key (variable)

...

Service Address List (variable)

...

Reserved (1 byte): MUST be set to 0x00 and ignored on receipt.

Signature (variable): A SIGNATURE data structure defined in section 2.2.3.1.3 that is calculated over all the subsequent fields in the message.

Protocol Major Version (1 byte): The Protocol Major Version defined by the higher-layer application using the DRT.

Protocol Minor Version (1 byte): The Protocol Minor Version defined by the higher-layer application using the DRT.

Security Profile Major Version (1 byte): The major version number of the security profile. MUST be set to 0x01.

Security Profile Minor Version (1 byte): The minor version number of the security profile. MUST be set to 0x00.

Key Length (2 bytes): The number of bytes, in little-endian byte order, of the Key field. MUST be set to 32 bytes.

Key (32 bytes): The key authenticated by the current message.

Nonce Length (2 bytes): The number of bytes, in little-endian byte order, of the Nonce field. MUST be set to 16 bytes.

Nonce (16 bytes): MUST be set to the nonce value embedded in the Inquire (section 2.2.2.5) message that is used to solicit the Authority (section 2.2.2.6) message which contains this structure.

Public Key (variable): A PUBLIC_KEY data structure defined in section 2.2.3.1.5.1.1.

Service Address List (variable): A Service Address List structure.