[#RSA_test_flags] = RSA_test_flags :mrdocs: Return which of the given flag bits are currently set on an RSA object. == Synopsis Declared in `<openssl/rsa.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] int RSA_test_flags( xref:RSA.adoc[RSA] const* r, int flags); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[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 [cols="1,4"] |=== | Name| Description | *r* | RSA object to query. | *flags* | Bitmask of RSA_* flags to test (bitwise OR). |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#