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

Name

Description

r

RSA object to query.

flags

Bitmask of RSA_* flags to test (bitwise OR).

Created with MrDocs