CMS_RecipientInfo_ktri_get0_signer_id

Get the certificate recipient identifier from a key-transport RecipientInfo.

Synopsis

Declared in <openssl/cms.h>

int
CMS_RecipientInfo_ktri_get0_signer_id(
    CMS_RecipientInfo* ri,
    ASN1_OCTET_STRING** keyid,
    X509_NAME** issuer,
    ASN1_INTEGER** sno);

Return Value

1 on success, or 0 on error.

Parameters

NameDescription
riRecipient info of type CMS_RECIPINFO_TRANS.
keyidReceives the subject key identifier when that form is used, or NULL if not requested.
issuerReceives the issuer name when issuerAndSerialNumber is used, or NULL if not requested.
snoReceives the serial number when issuerAndSerialNumber is used, or NULL if not requested.