Return non‐owning pointers to the key‐encryption key identifier fields of a KEKRI.
Synopsis
Declared in <openssl/cms.h>
int
CMS_RecipientInfo_kekri_get0_id(
CMS_RecipientInfo* ri,
X509_ALGOR** palg,
ASN1_OCTET_STRING** pid,
ASN1_GENERALIZEDTIME** pdate,
ASN1_OBJECT** potherid,
ASN1_TYPE** pothertype);
Return Value
1 on success, or 0 if ri is not a KEK recipient info.
Parameters
Name |
Description |
ri |
Recipient info of type CMS_RECIPINFO_KEK. |
palg |
Optional out‐parameter for the keyEncryptionAlgorithm, or NULL. |
pid |
Optional out‐parameter for the keyIdentifier OCTET STRING, or NULL. |
pdate |
Optional out‐parameter for the optional date, or NULL. |
potherid |
Optional out‐parameter for otherKeyAttribute OID, or NULL. |
pothertype |
Optional out‐parameter for otherKeyAttribute value, or NULL. |
Created with MrDocs