Get the signer identifier from a CMS SignerInfo (key id, or issuer and serial).

Synopsis

Declared in <openssl/cms.h>

int
CMS_SignerInfo_get0_signer_id(
    CMS_SignerInfo* si,
    ASN1_OCTET_STRING** keyid,
    X509_NAME** issuer,
    ASN1_INTEGER** sno);

Return Value

1 on success, or 0 on failure.

Parameters

Name

Description

si

SignerInfo whose sid is read.

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