[#OBJ_add_sigid]
= OBJ&lowbar;add&lowbar;sigid
:mrdocs:

Register a signature OID as the combination of a digest and public&hyphen;key algorithm&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
OBJ&lowbar;add&lowbar;sigid(
    int signid,
    int dig&lowbar;id,
    int pkey&lowbar;id);
----

== Return Value

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *signid*
| NID of the composite signature algorithm&period;
| *dig&lowbar;id*
| NID of the digest algorithm component&period;
| *pkey&lowbar;id*
| NID of the public&hyphen;key algorithm component&period;
|===


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