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

Name

Description

ri

Recipient info of type CMS_RECIPINFO_TRANS.

keyid

Receives the subject key identifier when that form is used, or NULL if not requested.

issuer

Receives the issuer name when issuerAndSerialNumber is used, or NULL if not requested.

sno

Receives the serial number when issuerAndSerialNumber is used, or NULL if not requested.

Created with MrDocs