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, 2014, Oracle and/or its affiliates. All rights reserved.