EVP_PKEY_asn1_set_ctrl

Set the control callback on an EVP_PKEY_ASN1_METHOD.

Synopsis

Declared in <openssl/evp.h>

void
EVP_PKEY_asn1_set_ctrl(
    EVP_PKEY_ASN1_METHOD* ameth,
    int(* pkey_ctrl)(EVP_PKEY*, int, long, void*));

Parameters

NameDescription
amethASN.1 method table under construction.
pkey_ctrlCallback for ASN.1/method control ops (for example PKCS#7/CMS), or NULL to clear.