22.10.2013 Views

System i: Programming Secure Sockets APIs - IBM

System i: Programming Secure Sockets APIs - IBM

System i: Programming Secure Sockets APIs - IBM

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

v GSK_V3_SIDCACHE_SIZE<br />

v GSK_LDAP_SERVER_PORT<br />

4. The GSK_FD value is a socket descriptor that must have an address family of AF_INET or AF_INET6<br />

and a socket type of SOCK_STREAM.<br />

Related Information<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 string 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_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_environment_close()—Close an SSL environment<br />

Syntax<br />

#include <br />

int gsk_environment_close(gsk_handle *my_env_handle);<br />

Service Program Name: QSYS/QSOSSLSR<br />

Default Public Authority: *USE<br />

Threadsafe: Yes<br />

The gsk_environment_close() function is used to close the SSL environment and release all storage<br />

associated with the environment.<br />

Parameters<br />

my_env_handle (Input)<br />

A pointer to the handle for the SSL environment to be closed.<br />

Authorities<br />

No authorization is required.<br />

30 <strong>System</strong> i: <strong>Programming</strong> <strong>Secure</strong> <strong>Sockets</strong> <strong>APIs</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!