Lines Matching refs:cppbor
69 cppbor::parse(endpointEncryptionCertChain.begin(), endpointEncryptionCertChain.end()); in validateAndExtractEekPubAndId()
76 const cppbor::Array* certArr = item->asArray(); in validateAndExtractEekPubAndId()
127 StatusOr<cppbor::Array /* pubkeys */>
130 auto pubKeysToMac = cppbor::Array(); in validateAndExtractPubkeys()
133 cppbor::parse(keysToSign[i].begin(), keysToSign[i].end()); in validateAndExtractPubkeys()
149 auto [protectedMap, __, errMsg] = cppbor::parse(protectedParms); in validateAndExtractPubkeys()
192 cppbor::Array buildCertReqRecipients(const std::vector<uint8_t>& pubkey, in buildCertReqRecipients()
194 return cppbor::Array() // Array of recipients in buildCertReqRecipients()
195 .add(cppbor::Array() // Recipient in buildCertReqRecipients()
196 .add(cppbor::Map() // Protected in buildCertReqRecipients()
200 .add(cppbor::Map() // Unprotected in buildCertReqRecipients()
201 .add(COSE_KEY, cppbor::Map() in buildCertReqRecipients()
208 .add(cppbor::Null())); // No ciphertext in buildCertReqRecipients()