Get the key-encryption algorithm and optional UKM from a key-agreement recipient info.
Declared in <openssl/cms.h>
int
CMS_RecipientInfo_kari_get0_alg(
CMS_RecipientInfo* ri,
X509_ALGOR** palg,
ASN1_OCTET_STRING** pukm);
1 on success, or 0 if ri is not a key-agreement recipient info.
| Name | Description |
|---|---|
| ri | Recipient info of type CMS_RECIPINFO_AGREE. |
| palg | Receives the keyEncryptionAlgorithm, or NULL if not requested. |
| pukm | Receives the user keying material (UKM), or NULL if not requested or absent. |