[#EVP_PKEY_meth_new] = EVP_PKEY_meth_new :mrdocs: Allocate a new custom EVP_PKEY_METHOD for algorithm `id` (deprecated). == Synopsis Declared in `<openssl/evp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] xref:EVP_PKEY_METHOD.adoc[EVP_PKEY_METHOD]* EVP_PKEY_meth_new( int id, int flags); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[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 [cols="1,4"] |=== | 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. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#