[#EC_KEY_METHOD_get_sign]
= EC&lowbar;KEY&lowbar;METHOD&lowbar;get&lowbar;sign
:mrdocs:

Retrieve ECDSA signing callbacks from an EC&lowbar;KEY&lowbar;METHOD (deprecated)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;deprecated&rsqb;&rsqb;
void
EC&lowbar;KEY&lowbar;METHOD&lowbar;get&lowbar;sign(
    xref:EC_KEY_METHOD.adoc[EC&lowbar;KEY&lowbar;METHOD] const* meth,
    int(** psign)(int, unsigned char const*, int, unsigned char*, unsigned int*, xref:BIGNUM.adoc[BIGNUM] const*, xref:BIGNUM.adoc[BIGNUM] const*, xref:EC_KEY.adoc[EC&lowbar;KEY]*),
    int(** psign&lowbar;setup)(xref:EC_KEY.adoc[EC&lowbar;KEY]*, xref:BN_CTX.adoc[BN&lowbar;CTX]*, xref:BIGNUM.adoc[BIGNUM]**, xref:BIGNUM.adoc[BIGNUM]**),
    xref:ECDSA_SIG.adoc[ECDSA&lowbar;SIG]*(** psign&lowbar;sig)(unsigned char const*, int, xref:BIGNUM.adoc[BIGNUM] const*, xref:BIGNUM.adoc[BIGNUM] const*, xref:EC_KEY.adoc[EC&lowbar;KEY]*));
----

[WARNING]
====
https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged.
====
== Parameters

[cols="1,4"]
|===
| Name| Description
| *meth*
| Method table to query&period;
| *psign*
| Receives the ECDSA&lowbar;sign&hyphen;style callback, or NULL to skip&period;
| *psign&lowbar;setup*
| Receives the optional sign&lowbar;setup callback, or NULL to skip&period;
| *psign&lowbar;sig*
| Receives the callback that returns an ECDSA&lowbar;SIG, or NULL to skip&period;
|===


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