Set the control callback on an EVP_PKEY_ASN1_METHOD.
Declared in <openssl/evp.h>
void
EVP_PKEY_asn1_set_ctrl(
EVP_PKEY_ASN1_METHOD* ameth,
int(* pkey_ctrl)(EVP_PKEY*, int, long, void*));
| Name | Description |
|---|---|
| ameth | ASN.1 method table under construction. |
| pkey_ctrl | Callback for ASN.1/method control ops (for example PKCS#7/CMS), or NULL to clear. |