public interface SignatureMethod extends XMLStructure, AlgorithmMethod
SignatureMethod 要素の表現。XML スキーマ定義は、次のように定義されます。
<element name="SignatureMethod" type="ds:SignatureMethodType"/>
<complexType name="SignatureMethodType" mixed="true">
<sequence>
<element name="HMACOutputLength" minOccurs="0" type="ds:HMACOutputLengthType"/>
<any namespace="##any" minOccurs="0" maxOccurs="unbounded"/>
<!-- (0,unbounded) elements from (1,1) namespace -->
</sequence>
<attribute name="Algorithm" type="anyURI" use="required"/>
</complexType>
SignatureMethod インスタンスは、XMLSignatureFactory クラスの newSignatureMethod メソッドを呼び出すことで作成できます。XMLSignatureFactory.newSignatureMethod(String, SignatureMethodParameterSpec)| 修飾子と型 | フィールドと説明 |
|---|---|
static String |
DSA_SHA1
DSAwithSHA1 (DSS) 署名メソッドアルゴリズム URI。
|
static String |
HMAC_SHA1
HMAC-SHA1 MAC 署名メソッドアルゴリズム URI。
|
static String |
RSA_SHA1
RSAwithSHA1 (PKCS #1) 署名メソッドアルゴリズム URI。
|
| 修飾子と型 | メソッドと説明 |
|---|---|
AlgorithmParameterSpec |
getParameterSpec()
この
SignatureMethod のアルゴリズム固有の入力パラメータを返します。 |
isFeatureSupportedgetAlgorithmstatic final String DSA_SHA1
static final String RSA_SHA1
AlgorithmParameterSpec getParameterSpec()
SignatureMethod のアルゴリズム固有の入力パラメータを返します。
返されたパラメータを SignatureMethodParameterSpec オブジェクトに型キャストできます。
getParameterSpec、インタフェース: AlgorithmMethodSignatureMethod のアルゴリズム固有の入力パラメータ。指定されていない場合は null になることもある バグまたは機能を送信
詳細な API リファレンスおよび開発者ドキュメントについては、Java SE のドキュメントを参照してください。そのドキュメントには、概念的な概要、用語の定義、回避方法、有効なコード例などの、開発者を対象にしたより詳細な説明が含まれています。
Copyright © 1993, 2013, Oracle and/or its affiliates. All rights reserved.