summaryrefslogtreecommitdiff
path: root/identity/support/src/cppbor_parse.cpp
diff options
context:
space:
mode:
authorMax Bires <jbires@google.com>2022-01-30 17:28:13 -0800
committerMax Bires <jbires@google.com>2022-02-02 02:13:26 +0000
commit81880284af9f8d6f82d8fbd4b82c70307fcb3762 (patch)
treeaa77ddebb3f91c60714a6774fc068a52a9657691 /identity/support/src/cppbor_parse.cpp
parentc96879a0ce955c5a8a987aabdd3b7f35424f8fc9 (diff)
Include the CWT validation in VTS testing.
This change modifies the VTS tests to validate the structure of the CBOR Web Token (CWT) which contains the public key as one of several fields in the map. It only validates the subset of fields expected to be seen in the VTS tests. The ones related to the actual BCC will not be present in test mode due to the security guarantees of the interface. Additionally, the test will also now check that the first key in the BCC array matches the public key that should be self-signed in the certificate located in the second index of the BCC array. Test: atest VtsHalRemotelyProvisionedComponentTargetTest Change-Id: I9e7769861529b8095d77ce8fee3c78222579d38c
Diffstat (limited to 'identity/support/src/cppbor_parse.cpp')
0 files changed, 0 insertions, 0 deletions