public interface DigestMethod extends XMLStructure, AlgorithmMethod
DigestMethod 要素の表現。XML スキーマ定義は、次のように定義されます。
<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>
DigestMethod インスタンスは、XMLSignatureFactory クラスの newDigestMethod メソッドを呼び出すことで作成できます。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 に関連付けられた、アルゴリズム固有の入力パラメータを返します。 |
isFeatureSupportedgetAlgorithmstatic final String RIPEMD160
AlgorithmParameterSpec getParameterSpec()
DigestMethod に関連付けられた、アルゴリズム固有の入力パラメータを返します。
返されたパラメータを DigestMethodParameterSpec オブジェクトに型キャストできます。
getParameterSpec、インタフェース: AlgorithmMethodnull になることもある バグまたは機能を送信
詳細な API リファレンスおよび開発者ドキュメントについては、Java SE のドキュメントを参照してください。そのドキュメントには、概念的な概要、用語の定義、回避方法、有効なコード例などの、開発者を対象にしたより詳細な説明が含まれています。
Copyright © 1993, 2013, Oracle and/or its affiliates. All rights reserved.