Retrieve key‐transport algorithms and related objects from a RecipientInfo.
Synopsis
Declared in <openssl/cms.h>
int
CMS_RecipientInfo_ktri_get0_algs(
CMS_RecipientInfo* ri,
EVP_PKEY** pk,
X509** recip,
X509_ALGOR** palg);
Return Value
1 on success, or 0 on failure.
Parameters
Name |
Description |
ri |
Recipient info of type CMS_RECIPINFO_TRANS. |
pk |
Receives the recipient public key if available, or NULL if not requested. |
recip |
Receives the recipient certificate if available, or NULL if not requested. |
palg |
Receives the key‐encryption algorithm, or NULL if not requested. |
Created with MrDocs