Lines Matching refs:cppbor
46 auto [item, _, message] = cppbor::parse(credentialData_); in initialize()
52 const cppbor::Array* arrayItem = item->asArray(); in initialize()
58 const cppbor::Tstr* docTypeItem = (*arrayItem)[0]->asTstr(); in initialize()
59 const cppbor::Bool* testCredentialItem = in initialize()
62 const cppbor::Bstr* encryptedCredentialKeysItem = (*arrayItem)[2]->asBstr(); in initialize()
88 auto [dckItem, dckPos, dckMessage] = cppbor::parse(decryptedCredentialKeys.value()); in initialize()
93 const cppbor::Array* dckArrayItem = dckItem->asArray(); in initialize()
98 const cppbor::Bstr* storageKeyItem = (*dckArrayItem)[0]->asBstr(); in initialize()
99 const cppbor::Bstr* credentialPrivKeyItem = (*dckArrayItem)[1]->asBstr(); in initialize()
112 cppbor::Array array = {"ProofOfDeletion", docType_, testCredential_}; in deleteCredential()
276 auto [item, _, message] = cppbor::parse(sessionTranscript); in startRetrieval()
320 cppbor::Array() in startRetrieval()
323 .add(cppbor::Semantic(24, itemsRequestBytes)) in startRetrieval()
326 cppbor::Semantic(24, encodedReaderAuthentication).encode(); in startRetrieval()
373 auto [item, _, message] = cppbor::parse(itemsRequest); in startRetrieval()
381 const cppbor::Map* map = item->asMap(); in startRetrieval()
422 const cppbor::Map* nsMap = nullptr; in startRetrieval()
425 if (keyItem->type() == cppbor::TSTR && keyItem->asTstr()->value() == "nameSpaces" && in startRetrieval()
426 valueItem->type() == cppbor::MAP) { in startRetrieval()
439 const cppbor::Tstr* nsKey = nsKeyItem->asTstr(); in startRetrieval()
440 const cppbor::Map* nsInnerMap = nsValueItem->asMap(); in startRetrieval()
450 const cppbor::Tstr* nameItem = innerMapKeyItem->asTstr(); in startRetrieval()
451 const cppbor::Simple* simple = innerMapValueItem->asSimple(); in startRetrieval()
452 const cppbor::Bool* intentToRetainItem = in startRetrieval()
489 deviceNameSpacesMap_ = cppbor::Map(); in startRetrieval()
490 currentNameSpaceDeviceNameSpacesMap_ = cppbor::Map(); in startRetrieval()
653 currentNameSpaceDeviceNameSpacesMap_ = cppbor::Map(); in startRetrieveEntryValue()
742 auto [entryValueItem, _, message] = cppbor::parse(entryValue_); in retrieveEntryValue()
779 cppbor::Array array; in finishRetrieval()
783 array.add(cppbor::Semantic(24, encodedDeviceNameSpaces)); in finishRetrieval()
784 vector<uint8_t> deviceAuthenticationBytes = cppbor::Semantic(24, array.encode()).encode(); in finishRetrieval()
803 vector<uint8_t> sessionTranscriptBytes = cppbor::Semantic(24, sessionTranscript_).encode(); in finishRetrieval()