OBJ_find_sigid_algs

Look up the digest and public-key NIDs that compose a signature algorithm.

Synopsis

Declared in <openssl/objects.h>

int
OBJ_find_sigid_algs(
    int signid,
    int* pdig_nid,
    int* ppkey_nid);

Return Value

1 if signid is found, or 0 otherwise.

Parameters

NameDescription
signidNID of the composite signature algorithm.
pdig_nidOptional out-parameter for the digest algorithm NID, or NULL.
ppkey_nidOptional out-parameter for the public-key algorithm NID, or NULL.