Syntax
#include <gskssl.h> int gsk_environment_open(gsk_handle *my_env_handle);Service Program Name: QSYS/QSOSSLSR
The gsk_environment_open() function is used to get storage for the SSL environment. This function call must be issued before any other gsk function calls are issued. This call returns an SSL environment handle that must be saved and used on subsequent gsk calls.
No authorization is required.
gsk_environment_open() returns an integer. Possible values are:
gsk_environment_open() was successful.
Digital Certificate Manager (DCM), 57xx-SS1 - OS400 Option 34 is not installed.
Not able to allocate storage for the requested operation.
An internal error occured during system processing.
The my_env_handle pointer is not valid.
Message ID | Error Message Text |
---|---|
CPE3418 E | Possible APAR condition or hardware failure. |
CPF9872 E | Program or service program &1 in library &2 ended. Reason code &3. |
CPFA081 E | Unable to set return value or error code. |
See the usage notes in gsk_attribute_set_buffer() API for the format of the ciphers.
Top | UNIX-Type APIs | APIs by category |