- すべてのスーパー・インタフェース:
AlgorithmMethod
,XMLStructure
public interface DigestMethod extends XMLStructure, AlgorithmMethod
「W3C Recommendation for XML-Signature Syntax and Processing」で定義されているXML
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
メソッドを呼び出すことで作成できます。
このクラスで定義されたダイジェスト・メソッド・アルゴリズムURIは、「W3C XMLシグネチャ構文および処理の推奨事項」および「RFC 9231: 追加のXMLセキュリティUniform Resource Identifiers (URI)」で指定されます
- 導入されたバージョン:
- 1.6
- 関連項目:
-
フィールドのサマリー
修飾子と型フィールド説明static final String
RIPEMD-160ダイジェスト・メソッド・アルゴリズムURI。static final String
SHA1ダイジェスト・メソッド・アルゴリズムURI。static final String
SHA224ダイジェスト・メソッド・アルゴリズムURI。static final String
SHA256ダイジェスト・メソッド・アルゴリズムURI。static final String
SHA3-224ダイジェスト・メソッド・アルゴリズムURI。static final String
SHA3-256ダイジェスト・メソッド・アルゴリズムURI。static final String
SHA3-384ダイジェスト・メソッド・アルゴリズムURI。static final String
SHA3-512ダイジェスト・メソッド・アルゴリズムURI。static final String
SHA384ダイジェスト・メソッド・アルゴリズムURI。static final String
SHA512ダイジェスト・メソッド・アルゴリズムURI。 -
メソッドのサマリー
修飾子と型メソッド説明このDigestMethod
に関連付けられた、アルゴリズム固有の入力パラメータを返します。インタフェースjavax.xml.crypto.AlgorithmMethodで宣言されたメソッド
getAlgorithm
インタフェースjavax.xml.crypto.XMLStructureで宣言されたメソッド
isFeatureSupported
-
フィールド詳細
-
SHA1
-
SHA224
-
SHA256
-
SHA384
-
SHA512
-
RIPEMD160
-
SHA3_224
-
SHA3_256
-
SHA3_384
-
SHA3_512
-
-
メソッドの詳細
-
getParameterSpec
AlgorithmParameterSpec getParameterSpec()このDigestMethod
に関連付けられた、アルゴリズム固有の入力パラメータを返します。返されたパラメータを
DigestMethodParameterSpec
オブジェクトに型キャストできます。- 定義:
getParameterSpec
、インタフェースAlgorithmMethod
- 戻り値:
- アルゴリズム固有のパラメータ。指定されていない場合は
null
になることもある
-