73 lines
4.8 KiB
HTML
73 lines
4.8 KiB
HTML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE html
|
|
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html lang="en-us" xml:lang="en-us">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<meta name="security" content="public" />
|
|
<meta name="Robots" content="index,follow" />
|
|
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
|
|
<meta name="DC.Type" content="reference" />
|
|
<meta name="DC.Title" content="Examples: Establish secure connections" />
|
|
<meta name="abstract" content="You can create secure server and clients using either the Global Secure ToolKit (GSKit) APIs or the Secure Sockets Layer (SSL_) APIs." />
|
|
<meta name="description" content="You can create secure server and clients using either the Global Secure ToolKit (GSKit) APIs or the Secure Sockets Layer (SSL_) APIs." />
|
|
<meta name="DC.Relation" scheme="URI" content="example.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="xgskserver.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="xgskasynch.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="xgskclient.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="x1sslserver.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="x1sslclient.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="ssltrouble.htm" />
|
|
<meta name="copyright" content="(C) Copyright IBM Corporation 2001, 2006" />
|
|
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2001, 2006" />
|
|
<meta name="DC.Format" content="XHTML" />
|
|
<meta name="DC.Identifier" content="x1ssl" />
|
|
<meta name="DC.Language" content="en-us" />
|
|
<!-- All rights reserved. Licensed Materials Property of IBM -->
|
|
<!-- US Government Users Restricted Rights -->
|
|
<!-- Use, duplication or disclosure restricted by -->
|
|
<!-- GSA ADP Schedule Contract with IBM Corp. -->
|
|
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
|
|
<link rel="stylesheet" type="text/css" href="./ic.css" />
|
|
<title>Examples: Establish secure connections</title>
|
|
</head>
|
|
<body id="x1ssl"><a name="x1ssl"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">Examples: Establish secure connections</h1>
|
|
<div><p>You can create secure server and clients using either the Global
|
|
Secure ToolKit (GSKit) APIs or the Secure Sockets Layer (SSL_) APIs.</p>
|
|
<div class="section"><p>GSKit APIs are preferred because they are supported
|
|
across IBM<sup>®</sup> systems,
|
|
while SSL_APIs only exist in the i5/OS™ system. Each set of Secure Sockets
|
|
APIs has return codes that help you identify errors when establishing secure
|
|
socket connections. </p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<ul class="ullinks">
|
|
<li class="ulchildlink"><strong><a href="xgskserver.htm">Example: GSKit secure server with asynchronous data receive</a></strong><br />
|
|
This code example can be used to establish a secure server using Global Secure ToolKit (GSKit) APIs.</li>
|
|
<li class="ulchildlink"><strong><a href="xgskasynch.htm">Example: GSKit secure server with asynchronous handshake</a></strong><br />
|
|
The <span class="apiname">gsk_secure_soc_startInit()</span> API allows you
|
|
to create secure server applications that can handle request asynchronously.</li>
|
|
<li class="ulchildlink"><strong><a href="xgskclient.htm">Example: Establish a secure client with Global Secure ToolKit (GSKit) APIs</a></strong><br />
|
|
This code sample provides an example of a client that uses the GSKit APIs.</li>
|
|
<li class="ulchildlink"><strong><a href="x1sslserver.htm">Example: Establish a secure server with SSL_ APIs</a></strong><br />
|
|
In addition to creating secure applications using the GSKit APIs,
|
|
you can also use the SSL_ APIs. SSL_ APIs only exist in the i5/OS operating
|
|
system.</li>
|
|
<li class="ulchildlink"><strong><a href="x1sslclient.htm">Example: Establish a secure client with SSL_ APIs</a></strong><br />
|
|
<span>This example enables a client
|
|
application using the SSL_ APIs to communicate with a server application that
|
|
uses the SSL_APIs.</span></li>
|
|
</ul>
|
|
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="example.htm" title="These examples provide many sample programs that illustrate the more advanced socket concepts. You can use these sample programs to create your own applications that complete a similar task.">Examples: Socket application designs</a></div>
|
|
</div>
|
|
<div class="relconcepts"><strong>Related concepts</strong><br />
|
|
<div><a href="ssltrouble.htm" title="Use these steps to access information about the secure socket error code messages.">Secure socket API error code messages</a></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |