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

Name

Description

si

SignerInfo to query.

pk

Receives the signer's public key if available, or NULL if not requested.

signer

Receives the signer certificate if available, or NULL if not requested.

pdig

Receives the digest algorithm, or NULL if not requested.

psig

Receives the signature algorithm, or NULL if not requested.

Created with MrDocs