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

Name

Description

signid

NID of the composite signature algorithm.

pdig_nid

Optional out‐parameter for the digest algorithm NID, or NULL.

ppkey_nid

Optional out‐parameter for the public‐key algorithm NID, or NULL.

Created with MrDocs