RSA_get0_n

Return the RSA modulus n (deprecated).

Synopsis

Declared in <openssl/rsa.h>

[[deprecated]]
BIGNUM const*
RSA_get0_n(RSA const* d);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

Pointer to the internal modulus BIGNUM (do not free), or NULL if unset.

Parameters

NameDescription
dRSA key to query.