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

Name

Description

psignid

On success, receives the signature algorithm NID.

dig_nid

Digest algorithm NID (may be NID_undef for pure signatures).

pkey_nid

Public‐key algorithm NID.

Created with MrDocs