Return a new reference to the RSA key held by pkey (deprecated).

Synopsis

Declared in <openssl/evp.h>

[[deprecated]]
rsa_st*
EVP_PKEY_get1_RSA(EVP_PKEY* pkey);
Warning

Deprecated. Use of this entity is allowed but discouraged.

Return Value

RSA pointer with an incremented reference count (caller frees with RSA_free()), or NULL on error.

Parameters

Name

Description

pkey

Key that must hold an RSA key.

Created with MrDocs