Install the public‐key consistency check callback on an ASN.1 method.

Synopsis

Declared in <openssl/evp.h>

void
EVP_PKEY_asn1_set_public_check(
    EVP_PKEY_ASN1_METHOD* ameth,
    int(* pkey_pub_check)(EVP_PKEY const*));

Parameters

Name

Description

ameth

ASN.1 method being configured.

pkey_pub_check

Callback that returns 1 if pk's public key is valid, or NULL to clear.

Created with MrDocs