RSAPublicKey_dup

Duplicate an RSA public key via ASN.1 encode/decode (deprecated).

Synopsis

Declared in <openssl/rsa.h>

[[deprecated]]
RSA*
RSAPublicKey_dup(RSA const* a);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

Newly allocated RSA copy, or NULL on error.

Parameters

NameDescription
aRSA key whose public components are duplicated.