1; 2; Copyright (C) 2023 The Android Open Source Project 3; 4; Licensed under the Apache License, Version 2.0 (the "License"); 5; you may not use this file except in compliance with the License. 6; You may obtain a copy of the License at 7; 8; http://www.apache.org/licenses/LICENSE-2.0 9; 10; Unless required by applicable law or agreed to in writing, software 11; distributed under the License is distributed on an "AS IS" BASIS, 12; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13; See the License for the specific language governing permissions and 14; limitations under the License. 15; 16ExplicitKeyDiceCertChain = [ 17 1, ; version, hopefully will never change 18 DiceCertChainInitialPayload, 19 * DiceChainEntry 20] 21 22; Encoded in accordance with Core Deterministic Encoding Requirements [RFC 8949 s4.2.1] 23DiceCertChainInitialPayload = bstr .cbor PubKeyEd25519 24 / bstr .cbor PubKeyECDSA256 25 / bstr .cbor PubKeyECDSA384 ; subjectPublicKey 26 27; INCLUDE generateCertificateRequestV2.cddl for: PubKeyEd25519, PubKeyECDSA256, PubKeyECDSA384, 28; DiceChainEntry 29; from hardware/interfaces/security/rkp/aidl/android/hardware/security/keymint/ 30