Set the private‐key free callback on a custom EVP_PKEY_ASN1_METHOD.

Synopsis

Declared in <openssl/evp.h>

void
EVP_PKEY_asn1_set_free(
    EVP_PKEY_ASN1_METHOD* ameth,
    void(* pkey_free)(EVP_PKEY*));

Parameters

Name

Description

ameth

ASN.1 method being constructed.

pkey_free

Callback that releases algorithm‐specific key material in pkey.

Created with MrDocs