Allocate a new custom EVP_PKEY_METHOD for algorithm id (deprecated).

Synopsis

Declared in <openssl/evp.h>

[[deprecated]]
EVP_PKEY_METHOD*
EVP_PKEY_meth_new(
    int id,
    int flags);
Warning

Deprecated. Use of this entity is allowed but discouraged.

Description

Prefer provider‐based EVP_KEYMGMT / EVP_SIGNATURE implementations for new code.

Return Value

New EVP_PKEY_METHOD, or NULL on allocation failure.

Parameters

Name

Description

id

Public‐key algorithm NID this method implements.

flags

Method flags such as EVP_PKEY_FLAG_AUTOARGLEN or EVP_PKEY_FLAG_SIGCTX_CUSTOM.

Created with MrDocs