[#RSA_meth_set_sign] = RSA_meth_set_sign :mrdocs: Set the private‐key signing callback on an RSA_METHOD (deprecated). == Synopsis Declared in `<openssl/rsa.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] int RSA_meth_set_sign( xref:RSA_METHOD.adoc[RSA_METHOD]* rsa, int(* sign)(int, unsigned char const*, unsigned int, unsigned char*, unsigned int*, xref:RSA.adoc[RSA] const*)); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged. ==== == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *rsa* | Method table to update. | *sign* | Callback implementing RSA_sign()‐style signing, or NULL to clear. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#