2.2.3.10.2 Payload_V2 structure

Payload_V2 structure represents the payload in API version V2.0.<3>


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

DataSize

Version

NumberOfKeys

KeyLength

KeyValue (variable)

...

...

...

NumberOfPolicies

Policies (variable)

...

...

...

DataSize (4 bytes): Total size of the TransportKey BLOB.

Version (4 bytes): Version of the TransportKey BLOB set to value 2.

NumberOfKeys (4 bytes): Total number of keys contained in the TransportKey BLOB.

KeyLength (4 bytes): The size of the key in bytes.

KeyValue (variable): A variable-length field containing the key data.

NumberOfPolicies (4 bytes): Total number of key policies contained in the TransportKey BLOB. If this is a non-zero value, Policies field contains the number of key policies indicated by this field.

Policies (variable): A variable-length field containing an array of key policy data elements. NumberOfPolicies field indicates the size of this array. Each policy data element of this array takes the form of the structure specified in section 2.2.3.10.2.1.