Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
gsk_fips_state_set() z/OS Cryptographic Services System SSL Programming SC14-7495-00 |
|
Sets the state of FIPS mode for System SSL.
Format
Parameters
ResultsThe function return value will be
0 if no error is detected. Otherwise, it will be one of the return
codes listed in the gskcms.h include file. The following are
some possible errors:
UsageThe gsk_fips_state_set() routine sets the enumerated value for the System SSL FIPS mode state. The FIPS mode setting applies to the entire process. Once set, then all threads of the same process execute in FIPS mode. If any thread switches to non-FIPS mode, then all threads in the same process execute in non-FIPS mode. In order to set FIPS mode, this function must be executed before all other System SSL API functions except for gsk_get_cms_vector(), gsk_get_ssl_vector(), and gsk_fips_state_query(). It is possible to switch to a non-FIPS mode at a later time. It is not possible to switch from non-FIPS mode to FIPS mode at any time. The following
enumerated values are supported:
|
Copyright IBM Corporation 1990, 2014
|