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

147 lines
5.5 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>Encipher From Master Key (ENCFRMMSTK)</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="ENCFRMMSTK.Top_Of_Page"></a>
<h2>Encipher From Master Key (ENCFRMMSTK)</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="#ENCFRMMSTK.PARAMETERS.TABLE">Parameters</a><br>
<a href="#ENCFRMMSTK.COMMAND.EXAMPLES">Examples</a><br>
<a href="#ENCFRMMSTK.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="ENCFRMMSTK"></a>
<p>The Encipher From Master Key (ENCFRMMSTK) command reenciphers a data-encrypting key from encryption under the host master key to encryption under one or two sending cross-domain keys.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#ENCFRMMSTK.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="ENCFRMMSTK.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="#ENCFRMMSTK.CPHK"><b>CPHK</b></a></td>
<td valign="top">Enciphered key value</td>
<td valign="top"><i>Character value</i></td>
<td valign="top">Required, Positional 1</td>
</tr>
<tr>
<td valign="top"><a href="#ENCFRMMSTK.CRSDMNK1"><b>CRSDMNK1</b></a></td>
<td valign="top">*SND cross-domain key name</td>
<td valign="top"><i>Name</i></td>
<td valign="top">Required, Positional 2</td>
</tr>
<tr>
<td valign="top"><a href="#ENCFRMMSTK.KRTNVAR1"><b>KRTNVAR1</b></a></td>
<td valign="top">CL var for re-encrypted key</td>
<td valign="top"><i>Character value</i></td>
<td valign="top">Required, Positional 3</td>
</tr>
<tr>
<td valign="top"><a href="#ENCFRMMSTK.CRSDMNK2"><b>CRSDMNK2</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 4</td>
</tr>
<tr>
<td valign="top"><a href="#ENCFRMMSTK.KRTNVAR2"><b>KRTNVAR2</b></a></td>
<td valign="top">CL var for re-encrypted 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="#ENCFRMMSTK.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="ENCFRMMSTK.CPHK"></a>
<h3>Enciphered key value (CPHK)</h3>
<p>Specifies an 8-byte value, or a variable containing an 8-byte value, that is the value of a data-encrypting key enciphered under the host master key. There are no restrictions on the value of this parameter. This is a required parameter.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#ENCFRMMSTK.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ENCFRMMSTK.CRSDMNK1"></a>
<h3>*SND cross-domain key name (CRSDMNK1)</h3>
<p>Specifies the name, or a variable containing the name, of a sending cross-domain key. The value in the <b>Enciphered key value</b> prompt (CPHK parameter) is decrypted using the host master key and encrypted using this sending cross-domain key. This is a required parameter.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#ENCFRMMSTK.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ENCFRMMSTK.KRTNVAR1"></a>
<h3>CL var for re-encrypted key (KRTNVAR1)</h3>
<p>Specifies an 8-byte variable to receive the data-encrypting key encrypted under the sending cross-domain key. This is a required parameter.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#ENCFRMMSTK.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ENCFRMMSTK.CRSDMNK2"></a>
<h3>*SND cross-domain key name (CRSDMNK2)</h3>
<p>Specifies the name of a second sending cross-domain key. The value in the <b>Enciphered key value</b> prompt (CPHK parameter) is decrypted using the host master key and encrypted using this second sending cross-domain 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="#ENCFRMMSTK.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ENCFRMMSTK.KRTNVAR2"></a>
<h3>CL var for re-encrypted key (KRTNVAR2)</h3>
<p>Specifies an 8-byte variable to receive the data-encrypting key encrypted under the second sending cross-domain key.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#ENCFRMMSTK.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="ENCFRMMSTK.COMMAND.EXAMPLES">Examples</a></h3>None
</div>
<table width="100%">
<tr><td align="right"><a href="#ENCFRMMSTK.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="ENCFRMMSTK.ERROR.MESSAGES">Error messages</a></h3>Unknown
</div>
<table width="100%">
<tr><td align="right"><a href="#ENCFRMMSTK.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>