EC_KEY_METHOD_get_sign

Retrieve ECDSA signing callbacks from an EC_KEY_METHOD (deprecated).

Synopsis

Declared in <openssl/ec.h>

[[deprecated]]
void
EC_KEY_METHOD_get_sign(
    EC_KEY_METHOD const* meth,
    int(** psign)(int, unsigned char const*, int, unsigned char*, unsigned int*, BIGNUM const*, BIGNUM const*, EC_KEY*),
    int(** psign_setup)(EC_KEY*, BN_CTX*, BIGNUM**, BIGNUM**),
    ECDSA_SIG*(** psign_sig)(unsigned char const*, int, BIGNUM const*, BIGNUM const*, EC_KEY*));

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Parameters

NameDescription
methMethod table to query.
psignReceives the ECDSA_sign-style callback, or NULL to skip.
psign_setupReceives the optional sign_setup callback, or NULL to skip.
psign_sigReceives the callback that returns an ECDSA_SIG, or NULL to skip.