RSA_test_flags

Return which of the given flag bits are currently set on an RSA object.

Synopsis

Declared in <openssl/rsa.h>

[[deprecated]]
int
RSA_test_flags(
    RSA const* r,
    int flags);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

Subset of flags that are set on r, or 0 if none are set.

Parameters

NameDescription
rRSA object to query.
flagsBitmask of RSA_* flags to test (bitwise OR).