291 lines
7.2 KiB
HTML
291 lines
7.2 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">
|
||
|
<meta name="Copyright" content="Copyright (c) 2006 by IBM Corporation">
|
||
|
<!-- Begin Header Records -->
|
||
|
<!-- 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. -->
|
||
|
<!-- Created for V5R4 by beth hagemeister 6/29/04 -->
|
||
|
<!-- Change history: -->
|
||
|
<!-- end header records -->
|
||
|
<title>Load Master Key Part (QC3LDMKP, Qc3LoadMasterKeyPart)</title>
|
||
|
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
|
||
|
</head>
|
||
|
<body>
|
||
|
<a name="Top_Of_Page"></a>
|
||
|
<!--Java sync-link-->
|
||
|
|
||
|
<script type="text/javascript" language="Javascript" src="../rzahg/synch.js">
|
||
|
</script>
|
||
|
|
||
|
|
||
|
<h2><img src="delta.gif" alt="Start of change">Load Master Key Part (QC3LDMKP, Qc3LoadMasterKeyPart)</h2>
|
||
|
|
||
|
<div class="box" style="width: 80%;">
|
||
|
<br>
|
||
|
Required Parameter Group:<br>
|
||
|
<!-- iddvc RMBR -->
|
||
|
<br>
|
||
|
|
||
|
<table width="100%">
|
||
|
<tr>
|
||
|
<td align="center" valign="top" width="10%">1</td>
|
||
|
<td align="left" valign="top" width="60%">Master key ID</td>
|
||
|
<td align="left" valign="top" width="15%">Input</td>
|
||
|
<td align="left" valign="top" width="15%">Binary(4)</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="center" valign="top" width="10%">2</td>
|
||
|
<td align="left" valign="top" width="60%">Passphrase</td>
|
||
|
<td align="left" valign="top" width="15%">Input</td>
|
||
|
<td align="left" valign="top" width="15%">Char(*)</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="center" valign="top" width="10%">3</td>
|
||
|
<td align="left" valign="top" width="60%">Length of passphrase</td>
|
||
|
<td align="left" valign="top" width="15%">Input</td>
|
||
|
<td align="left" valign="top" width="15%">Binary(4)</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="center" valign="top" width="10%">4</td>
|
||
|
<td align="left" valign="top" width="60%">CCSID of passphrase</td>
|
||
|
<td align="left" valign="top" width="15%">Input</td>
|
||
|
<td align="left" valign="top" width="15%">Binary(4)</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="center" valign="top" width="10%">5</td>
|
||
|
<td align="left" valign="top" width="60%">Error code</td>
|
||
|
<td align="left" valign="top" width="15%">I/O</td>
|
||
|
<td align="left" valign="top" width="15%">Char(*)</td>
|
||
|
</tr>
|
||
|
|
||
|
</table>
|
||
|
|
||
|
<br>
|
||
|
Service Program Name: QC3MKPLD<br>
|
||
|
<!-- iddvc RMBR -->
|
||
|
<br>
|
||
|
Default Public Authority: *EXCLUDE<br>
|
||
|
<!-- iddvc RMBR -->
|
||
|
<br>
|
||
|
Threadsafe: Yes<br>
|
||
|
<!-- iddvc RMBR -->
|
||
|
<br>
|
||
|
</div>
|
||
|
|
||
|
<p>The Load Master Key Part (OPM, QC3LDMKP; ILE, Qc3LoadMasterKeyPart)
|
||
|
API loads a key part for the specified master key by hashing the
|
||
|
specified passphrase and adding it into the new master key version.
|
||
|
</p>
|
||
|
<p>For more information about master keys, refer to
|
||
|
<a href="qc3MasterKeys.htm">Cryptographic Services Master Keys</a>.
|
||
|
</p>
|
||
|
|
||
|
|
||
|
<br>
|
||
|
|
||
|
|
||
|
<h3>Authorities and Locks</h3>
|
||
|
|
||
|
<dl>
|
||
|
|
||
|
<dt><strong>Required special authority</strong></dt>
|
||
|
<dd>*ALLOBJ and *SECADM
|
||
|
<br>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
|
||
|
<br>
|
||
|
|
||
|
|
||
|
<h3>Required Parameter Group</h3>
|
||
|
|
||
|
<dl>
|
||
|
<dt><strong>Master key ID</strong></dt>
|
||
|
|
||
|
<dd>INPUT; BINARY(4)
|
||
|
|
||
|
<p>The master key IDs are
|
||
|
</p>
|
||
|
<table width="95%">
|
||
|
<!-- cols="5 95" -->
|
||
|
<tr>
|
||
|
<td align="left" valign="top" width="15%"><strong>1</strong></td>
|
||
|
<td align="left" valign="top">Master key 1</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" width="15%"><strong>2</strong></td>
|
||
|
<td align="left" valign="top">Master key 2</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" width="15%"><strong>3</strong></td>
|
||
|
<td align="left" valign="top">Master key 3</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" width="15%"><strong>4</strong></td>
|
||
|
<td align="left" valign="top">Master key 4</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" width="15%"><strong>5</strong></td>
|
||
|
<td align="left" valign="top">Master key 5</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" width="15%"><strong>6</strong></td>
|
||
|
<td align="left" valign="top">Master key 6</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" width="15%"><strong>7</strong></td>
|
||
|
<td align="left" valign="top">Master key 7</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" width="15%"><strong>8</strong></td>
|
||
|
<td align="left" valign="top">Master key 8</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
<br>
|
||
|
</dd>
|
||
|
|
||
|
<dt><strong>Passphrase</strong></dt>
|
||
|
|
||
|
<dd>INPUT; CHAR(*)
|
||
|
<p>
|
||
|
A text string.
|
||
|
<br>
|
||
|
</p>
|
||
|
</dd>
|
||
|
|
||
|
<dt><strong>Length of passphrase</strong></dt>
|
||
|
|
||
|
<dd>INPUT; BINARY(4)
|
||
|
|
||
|
<p>The length of text specified in the passphrase parameter.
|
||
|
The length must be in the range of 1 to 256.</p></dd>
|
||
|
|
||
|
<dt><strong>CCSID of passphrase</strong></dt>
|
||
|
|
||
|
<dd>INPUT; BINARY(4)
|
||
|
|
||
|
<p>The CCSID of the passphrase. The passphrase will be converted from the
|
||
|
specified CCSID to Unicode before creating the key part.</p>
|
||
|
|
||
|
<table width="95%">
|
||
|
<!-- cols="15 85" -->
|
||
|
<tr>
|
||
|
<td align="left" valign="top" width="15%"><strong>0</strong></td>
|
||
|
<td align="left" valign="top">The CCSID of the job is used to determine the
|
||
|
CCSID of the data to be converted. If the job CCSID is 65535, the CCSID from
|
||
|
the default CCSID (DFTCCSID) job attribute is used.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top" width="15%"><strong>1-65533</strong></td>
|
||
|
<td align="left" valign="top">A valid CCSID in this range is used. For a list of valid CCSIDs,
|
||
|
see the <a href="../nls/rbagsglobalmain.htm">Globalization</a> topic in the
|
||
|
iSeries Information Center.</td>
|
||
|
</tr>
|
||
|
|
||
|
</table>
|
||
|
<br>
|
||
|
</dd>
|
||
|
|
||
|
<dt><strong>Error code</strong></dt>
|
||
|
|
||
|
<dd>I/O; CHAR(*)
|
||
|
|
||
|
<p>The structure in which to return error information.
|
||
|
For the format of the structure, see <a href="../apiref/error.htm#hdrerrcod">Error Code
|
||
|
Parameter</a>.</p>
|
||
|
</dd>
|
||
|
|
||
|
</dl>
|
||
|
|
||
|
<br>
|
||
|
|
||
|
|
||
|
<h3><a name="header_9">Error Messages</a></h3>
|
||
|
|
||
|
<table width="100%">
|
||
|
<tr>
|
||
|
<th align="left" valign="top">Message ID</th>
|
||
|
<th align="left" valign="top">Error Message Text</th>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td width="15%" valign="top">CPF222E E</td>
|
||
|
<td width="85%" valign="top">&1 special authority is required.</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td valign="top">CPF24B4 E</td>
|
||
|
<td valign="top">Severe error while addressing parameter list.</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td valign="top">CPF3C1E E</td>
|
||
|
<td valign="top">Required parameter &1 omitted.</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td valign="top">CPF3CF1 E</td>
|
||
|
<td valign="top">Error code parameter not valid.</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="left" valign="top">CPF3CF2 E</td>
|
||
|
<td align="left" valign="top">Error(s) occurred during running of &1
|
||
|
API.</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td valign="top">CPF9872 E</td>
|
||
|
<td valign="top">Program or service program &1 in library &2 ended. Reason code &3.</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td valign="top">CPF9DAD E</td>
|
||
|
<td valign="top">The master key ID is not valid.</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td valign="top">CPF9DB1 E</td>
|
||
|
<td valign="top">The CCSID is not valid.</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td valign="top">CPF9DB2 E</td>
|
||
|
<td valign="top">The length of passphrase is not valid.</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td valign="top">CPF9DDA E</td>
|
||
|
<td valign="top">Unexpected return code &1.</td>
|
||
|
</tr>
|
||
|
|
||
|
</table>
|
||
|
|
||
|
<br>
|
||
|
<img src="deltaend.gif" alt="End of change"><br>
|
||
|
|
||
|
<hr>
|
||
|
API introduced: V5R4
|
||
|
|
||
|
<hr>
|
||
|
<center>
|
||
|
<table cellpadding="2" cellspacing="2">
|
||
|
<tr align="center">
|
||
|
<td valign="middle" align="center"><a href="#Top_Of_Page">Top</a> | <a href=
|
||
|
"catcrypt.htm">Cryptographic Services APIs</a> | <a href="aplist.htm">APIs by
|
||
|
category</a></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</center>
|
||
|
</body>
|
||
|
</html>
|
||
|
|