Add X509 BCC type to protobuf and update oemcrypto adapter
BCC supports two types of format: CBOR and X509. The latter will be used by Chrome OS. In case of Prov4, BCC type will be queried by OEMCrypto_GetBCCType() and the returned value is populated in the provisioning request. This CL adds X509 type to protobuf, a call from CDM to query BCC type and OEMCrypto adapter changes for this call. Test: run_fake_l1_tests, opk_ta_p40 Bug: 307969500 Change-Id: I88acc36da6cb413d537a9ea9dfd2a150d4557595
This commit is contained in:
@@ -1096,7 +1096,10 @@ message ClientIdentification {
|
||||
DRM_DEVICE_CERTIFICATE = 1;
|
||||
REMOTE_ATTESTATION_CERTIFICATE = 2;
|
||||
OEM_DEVICE_CERTIFICATE = 3;
|
||||
// Boot certificate chain in CBOR format.
|
||||
BOOT_CERTIFICATE_CHAIN = 4;
|
||||
// Boot certificate chain in X509 format.
|
||||
BOOT_CERTIFICATE_CHAIN_X509 = 5;
|
||||
}
|
||||
|
||||
message NameValue {
|
||||
|
||||
Reference in New Issue
Block a user