OBJ_find_sigid_by_algs

Look up the composite signature NID for a digest and public-key algorithm pair.

Synopsis

Declared in <openssl/objects.h>

int
OBJ_find_sigid_by_algs(
    int* psignid,
    int dig_nid,
    int pkey_nid);

Return Value

1 if a mapping was found, or 0 otherwise.

Parameters

NameDescription
psignidOn success, receives the signature algorithm NID.
dig_nidDigest algorithm NID (may be NID_undef for pure signatures).
pkey_nidPublic-key algorithm NID.