RSA_meth_new

Allocate a new RSA_METHOD with the given name and flags (deprecated).

Synopsis

Declared in <openssl/rsa.h>

[[deprecated]]
RSA_METHOD*
RSA_meth_new(
    char const* name,
    int flags);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

New RSA_METHOD, or NULL on allocation failure.

Parameters

NameDescription
nameHuman-readable method name copied into the object.
flagsMethod flags such as RSA_METHOD_FLAG_NO_CHECK.