Searched refs:unprotParms (Results 1 – 1 of 1) sorted by relevance
290 auto& unprotParms = recipient->asArray()->get(1); in getSenderPubKeyFromCoseEncrypt() local291 if (!unprotParms || !unprotParms->asMap()) return "Invalid unprotected params"; in getSenderPubKeyFromCoseEncrypt()293 auto& senderCoseKey = unprotParms->asMap()->get(COSE_KEY); in getSenderPubKeyFromCoseEncrypt()312 auto& key_id = unprotParms->asMap()->get(KEY_ID); in getSenderPubKeyFromCoseEncrypt()329 auto& unprotParms = coseEncrypt->asArray()->get(kCoseEncryptUnprotectedParams); in decryptCoseEncrypt() local333 if (!protParms || !protParms->asBstr() || !unprotParms || !ciphertext || !recipients) { in decryptCoseEncrypt()350 if (!unprotParms->asMap() || unprotParms->asMap()->size() != 1) { in decryptCoseEncrypt()354 auto& nonce = unprotParms->asMap()->get(IV); in decryptCoseEncrypt()