#include <nng/supplemental/tls/tls.h> bool nng_tls_engine_fips_mode(void);
nng_tls_engine_fips_mode - TLS FIPS 140-2 mode indicator
true if the
TLS engine is operating in FIPS 140-2 mode,
|FIPS 140-2 references a United States standard for the use of cryptography in information processing systems.|
|The default TLS engine does not support FIPS 140-2 mode, and will always return false. Alternative implementations with such support may be available from commercial suppliers.|
|Generally the FIPS 140-2 mode cannot be changed after program startup.|
True if the TLS engine is in FIPS 140-2 mode, false otherwise.