|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一個類別 下一個類別 | 框架 無框架 | |||||||||
| 摘要: 巢狀 | 欄位 | 建構子 | 方法 | 詳細資訊: 欄位 | 建構子 | 方法 | |||||||||
java.lang.Objectjavax.xml.crypto.dsig.spec.HMACParameterSpec
public final class HMACParameterSpec
XML Signature HMAC Algorithm 的參數。這些參數包括一個可選的輸出長度,該長度指定了 MAC 截斷長度(以位為單位)。得到的 HMAC 將被截斷為指定的位數。如果未指定該參數,則意味著輸出雜湊值的所有位。HMACOutputLength 元素的 XML Schema Definition 定義如下:
<element name="HMACOutputLength" minOccurs="0" type="ds:HMACOutputLengthType"/>
<simpleType name="HMACOutputLengthType">
<restriction base="integer"/>
</simpleType>
SignatureMethod,
RFC 2104| 建構子摘要 | |
|---|---|
HMACParameterSpec(int outputLength)
創建具有指定截斷長度的 HMACParameterSpec。 |
|
| 方法摘要 | |
|---|---|
int |
getOutputLength()
返回截斷長度。 |
| 從類別 java.lang.Object 繼承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 建構子詳細資訊 |
|---|
public HMACParameterSpec(int outputLength)
HMACParameterSpec。
outputLength - 截斷長度的位數| 方法詳細資訊 |
|---|
public int getOutputLength()
|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一個類別 下一個類別 | 框架 無框架 | |||||||||
| 摘要: 巢狀 | 欄位 | 建構子 | 方法 | 詳細資訊: 欄位 | 建構子 | 方法 | |||||||||
版權所有 2008 Sun Microsystems, Inc. 保留所有權利。請遵守GNU General Public License, version 2 only。