Deep‐copy an RSA private key (RSAPrivateKey_dup) (deprecated).

Synopsis

Declared in <openssl/rsa.h>

[[deprecated]]
RSA*
RSAPrivateKey_dup(RSA const* a);
Warning

Deprecated. Use of this entity is allowed but discouraged.

Return Value

Newly allocated RSA copy, or NULL on failure; free with RSA_free().

Parameters

Name

Description

a

Source RSA key to duplicate.

Created with MrDocs