|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一個類別 下一個類別 | 框架 無框架 | |||||||||
| 摘要: 巢狀 | 欄位 | 建構子 | 方法 | 詳細資訊: 欄位 | 建構子 | 方法 | |||||||||
public interface DigestMethod
W3C Recommendation for XML-Signature Syntax and Processing 中定義的 XML DigestMethod 元素的表示形式。XML Schema Definition 的定義如下:
<element name="DigestMethod" type="ds:DigestMethodType"/> <complexType name="DigestMethodType" mixed="true"> <sequence> <any namespace="##any" minOccurs="0" maxOccurs="unbounded"/> <!-- (0,unbounded) elements from (1,1) namespace --> </sequence> <attribute name="Algorithm" type="anyURI" use="required"/> </complexType>可以通過調用
XMLSignatureFactory 類別的 newDigestMethod 方法創建 DigestMethod 實例。
XMLSignatureFactory.newDigestMethod(String, DigestMethodParameterSpec)| 欄位摘要 | |
|---|---|
static String |
RIPEMD160
RIPEMD-160 摘要方法的演算法 URI。 |
static String |
SHA1
SHA1 摘要方法的演算法 URI。 |
static String |
SHA256
SHA256 摘要方法的演算法 URI。 |
static String |
SHA512
SHA512 摘要方法的演算法 URI。 |
| 方法摘要 | |
|---|---|
AlgorithmParameterSpec |
getParameterSpec()
返回與此 DigestMethod 關聯的特定於演算法的輸入參數。 |
| 從介面 javax.xml.crypto.XMLStructure 繼承的方法 |
|---|
isFeatureSupported |
| 從介面 javax.xml.crypto.AlgorithmMethod 繼承的方法 |
|---|
getAlgorithm |
| 欄位詳細資訊 |
|---|
static final String SHA1
static final String SHA256
static final String SHA512
static final String RIPEMD160
| 方法詳細資訊 |
|---|
AlgorithmParameterSpec getParameterSpec()
DigestMethod 關聯的特定於演算法的輸入參數。
可將返回的參數強制轉換為 DigestMethodParameterSpec 物件。
AlgorithmMethod 中的 getParameterSpecnull)
|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一個類別 下一個類別 | 框架 無框架 | |||||||||
| 摘要: 巢狀 | 欄位 | 建構子 | 方法 | 詳細資訊: 欄位 | 建構子 | 方法 | |||||||||
版權所有 2008 Sun Microsystems, Inc. 保留所有權利。請遵守GNU General Public License, version 2 only。