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

Name

Description

rsa

RSA key to check.

cb

Optional BN_GENCB progress callback, or NULL.

Created with MrDocs