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.

Usage Notes<br />

1. The following GSK_ENUM_ID values may be set in the SSL environment after<br />

gsk_environment_open() and before gsk_environment_init(). They are used as defaults for<br />

subsequent secure sessions:<br />

v GSK_PROTOCOL_SSLV2<br />

v GSK_PROTOCOL_SSLV3<br />

v GSK_PROTOCOL_TLSV1<br />

v GSK_SESSION_TYPE<br />

v GSK_CLIENT_AUTH_TYPE<br />

v GSK_SERVER_AUTH_TYPE<br />

v GSK_ENVIRONMENT_CLOSE_OPTIONS<br />

2. The following GSK_ENUM_ID values may be set for each individual secure session after<br />

gsk_secure_soc_open() and before gsk_secure_soc_init(). These values will override values set in the<br />

SSL environment:<br />

v GSK_PROTOCOL_SSLV2<br />

v GSK_PROTOCOL_SSLV3<br />

v GSK_PROTOCOL_TLSV1<br />

v GSK_SESSION_TYPE<br />

v GSK_CLIENT_AUTH_TYPE<br />

v GSK_SERVER_AUTH_TYPE<br />

Related Information<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_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_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 />

<strong>Secure</strong> <strong>Sockets</strong> <strong>APIs</strong> 27

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

Saved successfully!

Ooh no, something went wrong!