Return the legacy RSA handle inside pkey without incrementing its refcount (deprecated).

Synopsis

Declared in <openssl/evp.h>

[[deprecated]]
rsa_st const*
EVP_PKEY_get0_RSA(EVP_PKEY const* pkey);
Warning

Deprecated. Use of this entity is allowed but discouraged.

Return Value

Borrowed RSA pointer, or NULL if pkey is not RSA / on error.

Parameters

Name

Description

pkey

Key expected to contain an RSA key.

Created with MrDocs