#include <gskssl.h> int gsk_secure_soc_misc(gsk_handle my_session_handle, GSK_MISC_ID miscID);Service Program Name: QSYS/QSOSSLSR
The gsk_secure_soc_misc() function is used to perform miscellaneous functions for a secure session.
No authorization is required.
gsk_secure_soc_misc() returns an integer. Possible values are:
gsk_secure_soc_misc() was successful.
The handle specified was not valid.
A gsk_secure_soc_init() has not been issued with this handle.
SSLV3 or TLSV1 is required for this function.
The value specified for miscID is not valid.
The my_session_handle pointer is not valid.
An unexpected error occurred during SSL processing.
An error occurred in SSL processing; check the errno value.
Certificate store file could not be opened.
The specified certificate store label is not valid.
An SSLV3 or TLSV1 cipher suite was specified that is not valid.
An SSLV2 cipher suite was specified that is not valid.
No ciphers available or no ciphers were specified.
No certificate is available for SSL processing.
The certificate is bad.
The certificate is not signed by a trusted certificate authority.
The validity time period of the certificate has expired.
A badly formatted message was received.
Operation is not supported by SSL.
The peer system is not recognized.
The SSL session ended.
A successful gsk_environment_init() was not previously called with this handle.
The value specified for the handshake timeout expired before the handshake completed.
The socket descriptor type is not SOCK_STREAM or the address family is not AF_INET or AF_INET6.
The socket descriptor is already in use by another secure session.
Unable to allocate storage for the requested operation.
When the gsk_secure_soc_misc() API fails with return code [GSK_ERROR_IO], errno can be set to:
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 |