192 lines
7.3 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<div class="header">
<div class="subTitle">
javax.crypto.interfaces
</div>
<h2 class="title" title="Interface PBEKey">Interface PBEKey</h2>
</div><div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>
All Superinterfaces:
</dt>
<dd>
<span><a href="../../../javax/security/auth/Destroyable.html" title="javax.security.auth中的接口">Destroyable</a> <a href="../../../java/security/Key.html" title="java.security中的接口">Key</a> <a href="../../../javax/crypto/SecretKey.html" title="javax.crypto中的接口">SecretKey</a> <a href="../../../java/io/Serializable.html" title="java.io中的接口">Serializable</a></span>
</dd>
</dl>
<hr/> <br/> <pre>public interface <span class="typeNameLabel">PBEKey</span>
extends <a href="../../../javax/crypto/SecretKey.html" title="interface in javax.crypto">SecretKey</a></pre>
<div class="block">
与PBE密钥的接口。
</div>
<dl>
<dt>
<span class="simpleTagLabel">从以下版本开始:</span>
</dt>
<dd>
1.4
</dd>
<dt>
<span class="seeLabel">另请参见:</span>
</dt>
<dd>
<span><a href="../../../javax/crypto/spec/PBEKeySpec.html" title="javax.crypto.spec中的类"><code>PBEKeySpec</code></a> <a href="../../../javax/crypto/SecretKey.html" title="javax.crypto中的接口"><code>SecretKey</code></a></span>
</dd>
</dl> </li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- --> </a> <h3>Field Summary</h3>
<table border="0" cellpadding="3" cellspacing="0" class="memberSummary" summary="Field Summary table, listing fields, and an explanation">
<caption>
<span>Fields</span>
<span class="tabEnd"> </span>
</caption>
<tbody>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/crypto/interfaces/PBEKey.html#serialVersionUID">serialVersionUID</a></span></code>
<div class="block">
从J2SE 1.4起设置为指示序列化兼容性的类指纹。
</div> </td>
</tr>
</tbody>
</table> </li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- --> </a> <h3>方法摘要</h3>
<table border="0" cellpadding="3" cellspacing="0" class="memberSummary" summary="Method Summary table, listing methods, and an explanation">
<caption>
<span class="activeTableTab" id="t0"><span>所有方法</span><span class="tabEnd"> </span></span>
<span class="tableTab" id="t2"><span><a href="javascript:show(2);">接口方法</a></span><span class="tabEnd"> </span></span>
<span class="tableTab" id="t3"><span><a href="javascript:show(4);">抽象方法</a></span><span class="tabEnd"> </span></span>
</caption>
<tbody>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor" id="i0">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/crypto/interfaces/PBEKey.html#getIterationCount--">getIterationCount</a></span>()</code>
<div class="block">
返回迭代计数如果未指定则返回0。
</div> </td>
</tr>
<tr class="rowColor" id="i1">
<td class="colFirst"><code>char[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/crypto/interfaces/PBEKey.html#getPassword--">getPassword</a></span>()</code>
<div class="block">
返回密码。
</div> </td>
</tr>
<tr class="altColor" id="i2">
<td class="colFirst"><code>byte[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/crypto/interfaces/PBEKey.html#getSalt--">getSalt</a></span>()</code>
<div class="block">
如果没有指定则返回salt或null。
</div> </td>
</tr>
</tbody>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.security.Key">
<!-- --> </a> <h3>Methods inherited from interface java.security.<a href="../../../java/security/Key.html" title="interface in java.security">Key</a></h3> <code><a href="../../../java/security/Key.html#getAlgorithm--">getAlgorithm</a>, <a href="../../../java/security/Key.html#getEncoded--">getEncoded</a>, <a href="../../../java/security/Key.html#getFormat--">getFormat</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.javax.security.auth.Destroyable">
<!-- --> </a> <h3>Methods inherited from interface javax.security.auth.<a href="../../../javax/security/auth/Destroyable.html" title="interface in javax.security.auth">Destroyable</a></h3> <code><a href="../../../javax/security/auth/Destroyable.html#destroy--">destroy</a>, <a href="../../../javax/security/auth/Destroyable.html#isDestroyed--">isDestroyed</a></code></li>
</ul> </li>
</ul> </li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- --> </a> <h3>字段详细信息</h3> <a name="serialVersionUID">
<!-- --> </a>
<ul class="blockListLast">
<li class="blockList"> <h4>serialVersionUID</h4> <pre>static final long serialVersionUID</pre>
<div class="block">
从J2SE 1.4起设置为指示序列化兼容性的类指纹。
</div>
<dl>
<dt>
<span class="seeLabel">另请参见:</span>
</dt>
<dd>
<a href="../../../constant-values.html#javax.crypto.interfaces.PBEKey.serialVersionUID">Constant Field Values</a>
</dd>
</dl> </li>
</ul> </li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- --> </a> <h3>方法详细信息</h3> <a name="getPassword--">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>getPassword</h4> <pre>char[] getPassword()</pre>
<div class="block">
<span>返回密码。</span>
<p> <span>注意:此方法应返回密码副本。</span> <span>呼叫者有责任在不再需要密码信息后将其清除。</span> </p>
</div>
<dl>
<dt>
<span class="returnLabel">结果</span>
</dt>
<dd>
密码。
</dd>
</dl> </li>
</ul> <a name="getSalt--">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>getSalt</h4> <pre>byte[] getSalt()</pre>
<div class="block">
<span>如果没有指定则返回salt或null。</span>
<p> <span>注意:此方法应返回盐的副本。</span> <span>呼叫者有责任在不再需要盐信息后将其清除掉。</span> </p>
</div>
<dl>
<dt>
<span class="returnLabel">结果</span>
</dt>
<dd>
盐。
</dd>
</dl> </li>
</ul> <a name="getIterationCount--">
<!-- --> </a>
<ul class="blockListLast">
<li class="blockList"> <h4>getIterationCount</h4> <pre>int getIterationCount()</pre>
<div class="block">
返回迭代计数如果未指定则返回0。
</div>
<dl>
<dt>
<span class="returnLabel">结果</span>
</dt>
<dd>
迭代计数。
</dd>
</dl> </li>
</ul> </li>
</ul> </li>
</ul>
</div>
</div>