PKCS7_simple_smimecap

Append a simple SMIMECapabilities AlgorithmIdentifier for nid to sk.

Synopsis

Declared in <openssl/pkcs7.h>

int
PKCS7_simple_smimecap(
    stack_st_X509_ALGOR* sk,
    int nid,
    int arg);

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
skCapability stack receiving the new AlgorithmIdentifier.
nidAlgorithm NID to advertise (cipher or digest).
argOptional algorithm parameter (for example key length for RC2), or -1 / 0 when unused.