Return the bit length of an RSA modulus (deprecated; use EVP_PKEY_get_bits).

Synopsis

Declared in <openssl/rsa.h>

[[deprecated]]
int
RSA_bits(RSA const* rsa);
Warning

Deprecated. Use of this entity is allowed but discouraged.

Return Value

Number of significant bits in the modulus n.

Parameters

Name

Description

rsa

RSA key to query.

Created with MrDocs