EVP_PKEY_asn1_set_check

Install the full-key consistency check callback on an ASN.1 method.

Synopsis

Declared in <openssl/evp.h>

void
EVP_PKEY_asn1_set_check(
    EVP_PKEY_ASN1_METHOD* ameth,
    int(* pkey_check)(EVP_PKEY const*));

Parameters

NameDescription
amethASN.1 method being configured.
pkey_checkCallback that returns 1 if pk is consistent, or NULL to clear.