Searched refs:protectedParams (Results 1 – 2 of 2) sorted by relevance
107 const cppbor::Bstr* protectedParams = coseSign1->get(kCoseSign1ProtectedParams)->asBstr(); in verifyAndParseCoseSign1Cwt() local112 if (!protectedParams || !unprotectedParams || !payload || !signature) { in verifyAndParseCoseSign1Cwt()116 auto [parsedProtParams, _, errMsg] = cppbor::parse(protectedParams); in verifyAndParseCoseSign1Cwt()144 cppbor::Array().add("Signature1").add(*protectedParams).add(aad).add(*payload).encode(); in verifyAndParseCoseSign1Cwt()
88 const cppbor::Bstr* protectedParams = coseSign1->get(kCoseSign1ProtectedParams)->asBstr(); in corrupt_sig() local92 if (!protectedParams || !unprotectedParams || !payload || !signature) { in corrupt_sig()97 corruptSig.add(protectedParams->clone()); in corrupt_sig()