RSAPrivateKey_dup

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

NameDescription
aSource RSA key to duplicate.