Syntax
#include <gskssl.h> int gsk_secure_soc_open(gsk_handle my_env_handle, gsk_handle *my_session_handle);Service Program Name: QSYS/QSOSSLSR
The gsk_secure_soc_open() function is used to get storage for a secure session, set default values for attributes, and return a handle that must be saved and used on secure session-related function calls.
No authorization is required.
gsk_secure_soc_open() returns an integer. Possible values are:
gsk_secure_soc_open() was successful.
The environment handle specified was not valid.
Not able to allocate storage for the requested operation.
The my_env_handle pointer is not valid.
An internal error occured during system processing.
An error occurred in SSL processing, check the errno value.
When the gsk_secure_soc_open() API fails with return code [GSK_ERROR_IO], errno can be set to:
Interrupted function call.
Resource deadlock avoided.
Operation terminated.
If an errno is returned that is not in this list, see Errno Values for UNIX®-Type Functions for a description of the errno.
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. |
Top | UNIX-Type APIs | APIs by category |