Searched refs:protParms (Results 1 – 1 of 1) sorted by relevance
157 bytevec protParms = protectedParams.add(ALGORITHM, EDDSA).canonicalize().encode(); in constructCoseSign1() local158 auto signature = createCoseSign1Signature(key, protParms, payload, aad); in constructCoseSign1()162 .add(std::move(protParms)) in constructCoseSign1()279 auto& protParms = recipient->asArray()->get(0); in getSenderPubKeyFromCoseEncrypt() local280 if (!protParms || !protParms->asBstr()) return "Invalid protected params"; in getSenderPubKeyFromCoseEncrypt()281 auto [parsedProtParms, _, errMsg] = cppbor::parse(protParms->asBstr()); in getSenderPubKeyFromCoseEncrypt()328 auto& protParms = coseEncrypt->asArray()->get(kCoseEncryptProtectedParams); in decryptCoseEncrypt() local333 if (!protParms || !protParms->asBstr() || !unprotParms || !ciphertext || !recipients) { in decryptCoseEncrypt()337 auto [parsedProtParams, _, errMsg] = cppbor::parse(protParms->asBstr()->value()); in decryptCoseEncrypt()363 .add(protParms->asBstr()->value()) // Protected in decryptCoseEncrypt()