RSA_check_key_ex

Validate RSA key components with an optional progress callback (deprecated).

Synopsis

Declared in <openssl/rsa.h>

[[deprecated]]
int
RSA_check_key_ex(
    RSA const* rsa,
    BN_GENCB* cb);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 if the key is valid, or 0 if invalid / on error.

Parameters

NameDescription
rsaRSA key to check.
cbOptional BN_GENCB progress callback, or NULL.