Install a callback that validates algorithm parameters on an EVP_PKEY.

Synopsis

Declared in <openssl/evp.h>

void
EVP_PKEY_asn1_set_param_check(
    EVP_PKEY_ASN1_METHOD* ameth,
    int(* pkey_param_check)(EVP_PKEY const*));

Parameters

Name

Description

ameth

ASN.1 method object to update.

pkey_param_check

Function that returns 1 if pk parameters are valid.

Created with MrDocs