System i: Programming Secure Sockets APIs - IBM
System i: Programming Secure Sockets APIs - IBM
System i: Programming Secure Sockets APIs - IBM
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
The gsk_strerror() function is used to retrieve an error message and associated text string that describes a<br />
return value that was returned from calling a GSKit API.<br />
Parameters<br />
gsk_return_value (Input)<br />
The return value received from a GSKit API.<br />
Authorities<br />
No authorization is required.<br />
Return Value<br />
gsk_strerror() returns a pointer to the return value text.<br />
Usage Notes<br />
1. gsk_strerror() returns a pointer to the string. The null-terminated string is stored in the CCSID of the<br />
job.<br />
2. If a gsk_return_value is specified for which there is no corresponding description, an Unknown Error<br />
string is returned.<br />
Related Information<br />
v “gsk_attribute_get_buffer()—Get character information about a secure session or an SSL environment”<br />
on page 3—Get character information about a secure session or an SSL environment.<br />
v “gsk_attribute_get_cert_info()—Get information about a local or partner certificate” on page 6—Get<br />
information about a local or partner certificate.<br />
v “gsk_attribute_get_enum()—Get enumerated information about a secure session or an SSL<br />
environment” on page 10—Get enumerated information about a secure session or an SSL environment.<br />
v “gsk_attribute_get_numeric_value()—Get numeric information about a secure session or an SSL<br />
environment” on page 14—Get numeric information about a secure session or an SSL environment.<br />
v “gsk_attribute_set_buffer()—Set character information for a secure session or an SSL environment” on<br />
page 16—Set character information for a secure session or an SSL environment.<br />
v “gsk_attribute_set_enum()—Set enumerated information for a secure session or an SSL environment”<br />
on page 24—Set enumerated information for a secure session or an SSL environment.<br />
v “gsk_attribute_set_numeric_value()—Set numeric information for a secure session or an SSL<br />
environment” on page 28—Set numeric information for a secure session or an SSL environment<br />
v “gsk_environment_close()—Close an SSL environment” on page 30—Close the SSL environment<br />
v “gsk_environment_init()—Initialize an SSL environment” on page 32—Initialize a SSL environment<br />
v “gsk_environment_open()—Get a handle for an SSL environment” on page 34—Get a handle for an<br />
SSL environment<br />
v “gsk_secure_soc_close()—Close a secure session” on page 37—Close a secure session<br />
v “gsk_secure_soc_init()—Negotiate a secure session” on page 38—Negotiate a secure session<br />
v “gsk_secure_soc_misc()—Perform miscellaneous functions for a secure session” on page 41—Perform<br />
miscellaneous functions for a secure session<br />
v “gsk_secure_soc_open()—Get a handle for a secure session” on page 44—Get a handle for a secure<br />
session<br />
v “gsk_secure_soc_read()—Receive data on a secure session” on page 46—Receive data on a secure<br />
session<br />
v “gsk_secure_soc_write()—Send data on a secure session” on page 60—Send data on a secure session<br />
<strong>Secure</strong> <strong>Sockets</strong> <strong>APIs</strong> 63