EVP_PKEY_meth_set_sign

Set the signing callbacks on a custom EVP_PKEY_METHOD (deprecated).

Synopsis

Declared in <openssl/evp.h>

[[deprecated]]
void
EVP_PKEY_meth_set_sign(
    EVP_PKEY_METHOD* pmeth,
    int(* sign_init)(EVP_PKEY_CTX*),
    int(* sign)(EVP_PKEY_CTX*, unsigned char*, size_t*, unsigned char const*, size_t));

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Parameters

NameDescription
pmethMethod table to update.
sign_initOptional initialization callback before signing, or NULL.
signCallback that produces a signature over tbs into sig.