EVP_PKEY_meth_set_signctx

Set digest-context signing callbacks on an EVP_PKEY_METHOD (deprecated).

Synopsis

Declared in <openssl/evp.h>

[[deprecated]]
void
EVP_PKEY_meth_set_signctx(
    EVP_PKEY_METHOD* pmeth,
    int(* signctx_init)(EVP_PKEY_CTX*, EVP_MD_CTX*),
    int(* signctx)(EVP_PKEY_CTX*, unsigned char*, size_t*, EVP_MD_CTX*));

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Parameters

NameDescription
pmethMethod table to update.
signctx_initOptional initialiser called before streaming sign, or NULL.
signctxCallback that produces sig from digest state in mctx, or NULL to clear.