System i: Programming Secure Sockets APIs - IBM
System i: Programming Secure Sockets APIs - IBM
System i: Programming Secure Sockets APIs - IBM
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
v GSK_FD<br />
v GSK_HANDSHAKE_TIMEOUT<br />
v GSK_OS400_READ_TIMEOUT<br />
5. The following GSK_NUM_ID values are currently not supported in the i5/OS ®<br />
implementation:<br />
v GSK_V2_SIDCACHE_SIZE<br />
v GSK_V3_SIDCACHE_SIZE<br />
v GSK_LDAP_SERVER_PORT<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_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_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_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_init()—Initialize an SSL environment” on page 32—Initialize an 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_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_strerror()—Retrieve GSKit runtime error message” on page 62—Retrieve GSK runtime error<br />
message<br />
API introduced: V5R1<br />
Top | UNIX-Type <strong>APIs</strong> | <strong>APIs</strong> by category<br />
gsk_attribute_set_buffer()—Set character information for a secure<br />
session or an SSL environment<br />
Syntax<br />
#include <br />
int gsk_attribute_set_buffer(gsk_handle my_gsk_handle,<br />
GSK_BUF_ID bufID,<br />
const char *buffer,<br />
int bufSize);<br />
Service Program Name: QSYS/QSOSSLSR<br />
Default Public Authority: *USE<br />
Threadsafe: Yes<br />
The gsk_attribute_set_buffer() function is used to set a specified buffer attribute to a value inside the<br />
specified secure session or SSL environment.<br />
16 <strong>System</strong> i: <strong>Programming</strong> <strong>Secure</strong> <strong>Sockets</strong> <strong>APIs</strong>