Get const pointers to the RSA modulus and exponents (deprecated).

Synopsis

Declared in <openssl/rsa.h>

[[deprecated]]
void
RSA_get0_key(
    RSA const* r,
    BIGNUM const** n,
    BIGNUM const** e,
    BIGNUM const** d);
Warning

Deprecated. Use of this entity is allowed but discouraged.

Return Value

const pointers to the RSA modulus and exponents (deprecated).

Parameters

Name

Description

r

RSA key to query.

n

Receives the modulus, or NULL if not requested.

e

Receives the public exponent, or NULL if not requested.

d

Receives the private exponent, or NULL if not requested.

Created with MrDocs