[#OBJ_find_sigid_by_algs]
= OBJ&lowbar;find&lowbar;sigid&lowbar;by&lowbar;algs
:mrdocs:

Look up the composite signature NID for a digest and public&hyphen;key algorithm pair&period;

== Synopsis

Declared in `&lt;openssl&sol;objects&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
OBJ&lowbar;find&lowbar;sigid&lowbar;by&lowbar;algs(
    int* psignid,
    int dig&lowbar;nid,
    int pkey&lowbar;nid);
----

== Return Value

1 if a mapping was found, or 0 otherwise&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *psignid*
| On success, receives the signature algorithm NID&period;
| *dig&lowbar;nid*
| Digest algorithm NID (may be NID&lowbar;undef for pure signatures)&period;
| *pkey&lowbar;nid*
| Public&hyphen;key algorithm NID&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
