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

Name

Description

a

RSA key whose public components are duplicated.

Created with MrDocs