ibm-information-center/dist/eclipse/plugins/i5OS.ic.cl_5.4.0.1/gencphk.htm

157 lines
5.6 KiB
HTML

<!doctype html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head><META http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Generate Cipher Key (GENCPHK)</title>
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
</head>
<body bgcolor="white">
<script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<a name="GENCPHK.Top_Of_Page"></a>
<h2>Generate Cipher Key (GENCPHK)</h2>
<table width="100%">
<tr>
<td valign="top" align="left"><b>Where allowed to run: </b>
<ul><li>Batch program (*BPGM)</li>
<li>Interactive program (*IPGM)</li>
</ul><b>Threadsafe: </b>No
</td>
<td valign="top" align="right">
<a href="#GENCPHK.PARAMETERS.TABLE">Parameters</a><br>
<a href="#GENCPHK.COMMAND.EXAMPLES">Examples</a><br>
<a href="#GENCPHK.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="GENCPHK"></a>
<p>The Generate Cipher Key (GENCPHK) command generates a data-encrypting key enciphered under the host master key and optionally under a sending and/or receiving cross-domain key.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#GENCPHK.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="GENCPHK.PARAMETERS.TABLE">Parameters</a></h3>
<table border="1" cellpadding="4" cellspacing="0">
<!-- col1="10" col2="15" col3="30" col4="10" -->
<tr>
<th bgcolor="aqua" valign="bottom" align="left">Keyword</th>
<th bgcolor="aqua" valign="bottom" align="left">Description</th>
<th bgcolor="aqua" valign="bottom" align="left">Choices</th>
<th bgcolor="aqua" valign="bottom" align="left">Notes</th>
</tr>
<tr>
<td valign="top"><a href="#GENCPHK.CPHK"><b>CPHK</b></a></td>
<td valign="top">CL var for generated key</td>
<td valign="top"><i>Character value</i></td>
<td valign="top">Required, Positional 1</td>
</tr>
<tr>
<td valign="top"><a href="#GENCPHK.SNDCRSDMNK"><b>SNDCRSDMNK</b></a></td>
<td valign="top">*SND cross-domain key name</td>
<td valign="top"><i>Name</i>, <b><u>*NONE</u></b></td>
<td valign="top">Optional, Positional 2</td>
</tr>
<tr>
<td valign="top"><a href="#GENCPHK.SNDRTNVAR"><b>SNDRTNVAR</b></a></td>
<td valign="top">CL var for generated key</td>
<td valign="top"><i>Character value</i></td>
<td valign="top">Optional, Positional 3</td>
</tr>
<tr>
<td valign="top"><a href="#GENCPHK.RCVCRSDMNK"><b>RCVCRSDMNK</b></a></td>
<td valign="top">*RCV cross-domain key name</td>
<td valign="top"><i>Name</i>, <b><u>*NONE</u></b></td>
<td valign="top">Optional, Positional 4</td>
</tr>
<tr>
<td valign="top"><a href="#GENCPHK.RCVRTNVAR"><b>RCVRTNVAR</b></a></td>
<td valign="top">CL var for generated key</td>
<td valign="top"><i>Character value</i></td>
<td valign="top">Optional, Positional 5</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#GENCPHK.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="GENCPHK.CPHK"></a>
<h3>CL var for generated key (CPHK)</h3>
<p>Specifies an 8-byte variable to receive the value of the generated data-encrypting key encrypted under the host master key. This is a required parameter.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#GENCPHK.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="GENCPHK.SNDCRSDMNK"></a>
<h3>*SND cross-domain key name (SNDCRSDMNK)</h3>
<p>Specifies the name of a sending cross-domain key that is to be used to encrypt the generated data-encrypting key.
</p>
<p>The possible values are:
</p>
<dl>
<dt><b><u>*NONE</u></b></dt>
<dd>No sending cross-domain key is to be used to encrypt the data-encrypting key.
</dd>
<dt><b><i>sending-cross-domain-key-name</i></b></dt>
<dd>Specify the name, or a variable containing the name, of a sending cross-domain key.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#GENCPHK.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="GENCPHK.SNDRTNVAR"></a>
<h3>CL var for generated key (SNDRTNVAR)</h3>
<p>Specifies an 8-byte variable to receive the value of the generated data-encrypting key encrypted under the sending cross-domain key specified on the <b>*SND cross-domain key name</b> prompt (SNDCRSDMNK parameter).
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#GENCPHK.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="GENCPHK.RCVCRSDMNK"></a>
<h3>*RCV cross-domain key name (RCVCRSDMNK)</h3>
<p>Specifies the name of a receiving cross-domain key that is to be used to encrypt the generated data-encrypting key.
</p>
<p>The possible values are:
</p>
<dl>
<dt><b><u>*NONE</u></b></dt>
<dd>No receiving cross-domain key is to be used to encrypt the data-encrypting key.
</dd>
<dt><b><i>receiving-cross-domain-key-name</i></b></dt>
<dd>Specify the name, or a variable containing the name, of a receiving cross-domain key.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#GENCPHK.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="GENCPHK.RCVRTNVAR"></a>
<h3>CL var for generated key (RCVRTNVAR)</h3>
<p>Specifies an 8-byte variable to receive the value of the generated data-encrypting key encrypted under the receiving cross-domain key specified on the <b>*RCV cross-domain key name</b> prompt (RCVCRSDMNK parameter).
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#GENCPHK.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="GENCPHK.COMMAND.EXAMPLES">Examples</a></h3>None
</div>
<table width="100%">
<tr><td align="right"><a href="#GENCPHK.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="GENCPHK.ERROR.MESSAGES">Error messages</a></h3>Unknown
</div>
<table width="100%">
<tr><td align="right"><a href="#GENCPHK.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>