CMS_SignerInfo_get0_algs

Retrieve algorithm and key pointers from a CMS SignerInfo.

Synopsis

Declared in <openssl/cms.h>

void
CMS_SignerInfo_get0_algs(
    CMS_SignerInfo* si,
    EVP_PKEY** pk,
    X509** signer,
    X509_ALGOR** pdig,
    X509_ALGOR** psig);

Parameters

NameDescription
siSignerInfo to query.
pkReceives the signer's public key if available, or NULL if not requested.
signerReceives the signer certificate if available, or NULL if not requested.
pdigReceives the digest algorithm, or NULL if not requested.
psigReceives the signature algorithm, or NULL if not requested.