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

Name

Description

pmeth

Method table to update.

sign_init

Optional initialization callback before signing, or NULL.

sign

Callback that produces a signature over tbs into sig.

Created with MrDocs