ibm-information-center/dist/eclipse/plugins/i5OS.ic.apis_5.4.0.1/catcrypt6.htm

67 lines
5.7 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. -->
<!-- Change History: -->
<!-- YYMMDD USERID Change description -->
<!-- 050112 JETAYLOR new for V5R4 -->
<!-- End Header Records -->
<title>Key Management APIs</title>
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
</head>
<body>
<script language="Javascript" src="../rzahg/synch.js" type="text/javascript">
</script>
<a name="Top_Of_Page"></a>
<h2><img src="delta.gif" alt="Start of change">Key Management APIs</h2>
<p>The Key Management APIs help you store and handle cryptographic keys.
See <a href="qc3MasterKeys.htm">Cryptographic Services Master Keys</a>
and <a href="qc3KeyStore.htm">Cryptographic Services Key Store</a>
for key management concept information.</p>
<p>The Key Management APIs include:</p>
<!-- ***** NOTE ***** Do not manually update text or links in this section. -->
<!-- Updates made in this section *will* be overlaid by automated tools -->
<!-- Notify User Technologies of needed updates to be made in XML for API finder.-->
<!--***************API BEGIN PASTE***************-->
<ul>
<li><img src="delta.gif" alt="Start of change" border="0"><A HREF="qc3clrmk.htm">Clear Master Key</A> (QC3CLRMK, Qc3ClearMasterKey) clears the specified master key version.&nbsp;<img src="deltaend.gif" ALT="End of change" border="0"></li>
<li><img src="delta.gif" alt="Start of change" border="0"><A HREF="qc3crtks.htm">Create Key Store</A> (QC3CRTKS, Qc3CreateKeyStore) creates a database file for storing cryptographic key values for use with the cryptographic services set of APIs.&nbsp;<img src="deltaend.gif" ALT="End of change" border="0"></li>
<li><img src="delta.gif" alt="Start of change" border="0"><A HREF="qc3dltkr.htm">Delete Key Record</A> (QC3DLTKR, Qc3DeleteKeyRecord) deletes a key record from a key store file.&nbsp;<img src="deltaend.gif" ALT="End of change" border="0"></li>
<li><img src="delta.gif" alt="Start of change" border="0"><A HREF="qc3expky.htm">Export Key</A> (QC3EXPKY, Qc3ExportKey) decrypts a key encrypted under a master key and re-encrypts it under the specified key-encrypting key.&nbsp;<img src="deltaend.gif" ALT="End of change" border="0"></li>
<li><img src="delta.gif" alt="Start of change" border="0"><A HREF="qc3extpb.htm">Extract Public Key</A> (QC3EXTPB, Qc3ExtractPublicKey) extracts a public key from a BER encoded PKCS #8 string or from a key record containing a public or private PKA key.&nbsp;<img src="deltaend.gif" ALT="End of change" border="0"></li>
<li><img src="delta.gif" alt="Start of change" border="0"><A HREF="qc3genkr.htm">Generate Key Record</A> (QC3GENKR, Qc3GenKeyRecord) generates a random key or key pair and stores it in a key store file.&nbsp;<img src="deltaend.gif" ALT="End of change" border="0"></li>
<li><img src="delta.gif" alt="Start of change" border="0"><A HREF="qc3impky.htm">Import Key</A> (QC3IMPKY, Qc3ImportKey) encrypts a key under the specified master key.&nbsp;<img src="deltaend.gif" ALT="End of change" border="0"></li>
<li><img src="delta.gif" alt="Start of change" border="0"><A HREF="qc3ldmkp.htm">Load Master Key Part</A> (QC3LDMKP, Qc3LoadMasterKeyPart) loads a key part for the specified master key by hashing the specified passphrase and adding it into the new master key version.&nbsp;<img src="deltaend.gif" ALT="End of change" border="0"></li>
<li><img src="delta.gif" alt="Start of change" border="0"><A HREF="qc3rtvka.htm">Retrieve Key Record Attributes</A> (QC3RTVKA, Qc3RetrieveKeyRecordAtr) returns the key type and key size of a key stored in a key store file. It also identifies the master key under which the stored key is encrypted and the master key's KVV.&nbsp;<img src="deltaend.gif" ALT="End of change" border="0"></li>
<li><img src="delta.gif" alt="Start of change" border="0"><A HREF="qc3setmk.htm">Set Master Key</A> (QC3SETMK, Qc3SetMasterKey) sets the specified master key from the parts already loaded.&nbsp;<img src="deltaend.gif" ALT="End of change" border="0"></li>
<li><img src="delta.gif" alt="Start of change" border="0"><A HREF="qc3tstmk.htm">Test Master Key</A> (QC3TSTMK, QcTestMasterKey) returns the key verification value for the specified master key.&nbsp;<img src="deltaend.gif" ALT="End of change" border="0"></li>
<li><img src="delta.gif" alt="Start of change" border="0"><A HREF="qc3trnks.htm">Translate Key Store</A> (QC3TRNKS, Qc3TranslateKeyStore) translates keys stored in the specified key store files to another master key, or if the same master key is specified, to the current version of the master key.&nbsp;<img src="deltaend.gif" ALT="End of change" border="0"></li>
<li><img src="delta.gif" alt="Start of change" border="0"><A HREF="qc3wrtkr.htm">Write Key Record</A> (QC3WRTKR, Qc3WriteKeyRecord) stores the specified key value in a key store file.&nbsp;<img src="deltaend.gif" ALT="End of change" border="0"></li>
</ul>
<!--***************API END PASTE***************-->
<br>
<img src="deltaend.gif" alt="End of change">
<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>