- すべてのスーパー・インタフェース:
AlgorithmMethod
,XMLStructure
public interface SignatureMethod extends XMLStructure, AlgorithmMethod
「W3C Recommendation for XML-Signature Syntax and Processing」で定義されているXML
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
メソッドを呼び出すことで作成できます。- 導入されたバージョン:
- 1.6
- 関連項目:
-
フィールドのサマリー
修飾子と型フィールド説明static final String
DSA-SHA1 (DSS)シグネチャ・メソッド・アルゴリズムURI。static final String
DSA-SHA256 (DSS)シグネチャ・メソッド・アルゴリズムURI。static final String
ECDSA-SHA1 (FIPS 180-4)シグネチャ・メソッド・アルゴリズムURI。static final String
ECDSA-SHA224 (FIPS 180-4)シグネチャ・メソッド・アルゴリズムURI。static final String
ECDSA-SHA256 (FIPS 180-4)シグネチャ・メソッド・アルゴリズムURI。static final String
ECDSA-SHA384 (FIPS 180-4)シグネチャ・メソッド・アルゴリズムURI。static final String
ECDSA-SHA512 (FIPS 180-4)シグネチャ・メソッド・アルゴリズムURI。static final String
HMAC-SHA1 MAC署名メソッド・アルゴリズムURI。static final String
HMAC-SHA224 MACシグネチャ・メソッド・アルゴリズムURI。static final String
HMAC-SHA256 MACシグネチャ・メソッド・アルゴリズムURI。static final String
HMAC-SHA384 MACシグネチャ・メソッド・アルゴリズムURI。static final String
HMAC-SHA512 MACシグネチャ・メソッド・アルゴリズムURI。static final String
RSASSA-PSSシグネチャ・メソッド・アルゴリズムURI。static final String
RSA-SHA1 (PKCS #1)シグネチャ・メソッド・アルゴリズムURI。static final String
RSA-SHA224 (PKCS #1)シグネチャ・メソッド・アルゴリズムURI。static final String
RSA-SHA256 (PKCS #1)シグネチャ・メソッド・アルゴリズムURI。static final String
RSA-SHA384 (PKCS #1)シグネチャ・メソッド・アルゴリズムURI。static final String
RSA-SHA512 (PKCS #1)シグネチャ・メソッド・アルゴリズムURI。static final String
SHA1-RSA-MGF1 (PKCS #1)シグネチャ・メソッド・アルゴリズムURI。static final String
SHA224-RSA-MGF1 (PKCS #1)シグネチャ・メソッド・アルゴリズムURI。static final String
SHA256-RSA-MGF1 (PKCS #1)シグネチャ・メソッド・アルゴリズムURI。static final String
SHA384-RSA-MGF1 (PKCS #1)シグネチャ・メソッド・アルゴリズムURI。static final String
SHA512-RSA-MGF1 (PKCS #1)シグネチャ・メソッド・アルゴリズムURI。 -
メソッドのサマリー
インタフェース javax.xml.crypto.AlgorithmMethodで宣言されたメソッド
getAlgorithm
インタフェース javax.xml.crypto.XMLStructureで宣言されたメソッド
isFeatureSupported
-
フィールド詳細
-
DSA_SHA1
static final String DSA_SHA1DSA-SHA1 (DSS)シグネチャ・メソッド・アルゴリズムURI。- 関連項目:
-
DSA_SHA256
static final String DSA_SHA256DSA-SHA256 (DSS)シグネチャ・メソッド・アルゴリズムURI。- 導入されたバージョン:
- 11
- 関連項目:
-
RSA_SHA1
static final String RSA_SHA1RSA-SHA1 (PKCS #1)シグネチャ・メソッド・アルゴリズムURI。- 関連項目:
-
RSA_SHA224
static final String RSA_SHA224RSA-SHA224 (PKCS #1)シグネチャ・メソッド・アルゴリズムURI。- 導入されたバージョン:
- 11
- 関連項目:
-
RSA_SHA256
static final String RSA_SHA256RSA-SHA256 (PKCS #1)シグネチャ・メソッド・アルゴリズムURI。- 導入されたバージョン:
- 11
- 関連項目:
-
RSA_SHA384
static final String RSA_SHA384RSA-SHA384 (PKCS #1)シグネチャ・メソッド・アルゴリズムURI。- 導入されたバージョン:
- 11
- 関連項目:
-
RSA_SHA512
static final String RSA_SHA512RSA-SHA512 (PKCS #1)シグネチャ・メソッド・アルゴリズムURI。- 導入されたバージョン:
- 11
- 関連項目:
-
SHA1_RSA_MGF1
static final String SHA1_RSA_MGF1SHA1-RSA-MGF1 (PKCS #1)シグネチャ・メソッド・アルゴリズムURI。- 導入されたバージョン:
- 11
- 関連項目:
-
SHA224_RSA_MGF1
static final String SHA224_RSA_MGF1SHA224-RSA-MGF1 (PKCS #1)シグネチャ・メソッド・アルゴリズムURI。- 導入されたバージョン:
- 11
- 関連項目:
-
SHA256_RSA_MGF1
static final String SHA256_RSA_MGF1SHA256-RSA-MGF1 (PKCS #1)シグネチャ・メソッド・アルゴリズムURI。- 導入されたバージョン:
- 11
- 関連項目:
-
SHA384_RSA_MGF1
static final String SHA384_RSA_MGF1SHA384-RSA-MGF1 (PKCS #1)シグネチャ・メソッド・アルゴリズムURI。- 導入されたバージョン:
- 11
- 関連項目:
-
SHA512_RSA_MGF1
static final String SHA512_RSA_MGF1SHA512-RSA-MGF1 (PKCS #1)シグネチャ・メソッド・アルゴリズムURI。- 導入されたバージョン:
- 11
- 関連項目:
-
ECDSA_SHA1
static final String ECDSA_SHA1ECDSA-SHA1 (FIPS 180-4)シグネチャ・メソッド・アルゴリズムURI。- 導入されたバージョン:
- 11
- 関連項目:
-
ECDSA_SHA224
static final String ECDSA_SHA224ECDSA-SHA224 (FIPS 180-4)シグネチャ・メソッド・アルゴリズムURI。- 導入されたバージョン:
- 11
- 関連項目:
-
ECDSA_SHA256
static final String ECDSA_SHA256ECDSA-SHA256 (FIPS 180-4)シグネチャ・メソッド・アルゴリズムURI。- 導入されたバージョン:
- 11
- 関連項目:
-
ECDSA_SHA384
static final String ECDSA_SHA384ECDSA-SHA384 (FIPS 180-4)シグネチャ・メソッド・アルゴリズムURI。- 導入されたバージョン:
- 11
- 関連項目:
-
ECDSA_SHA512
static final String ECDSA_SHA512ECDSA-SHA512 (FIPS 180-4)シグネチャ・メソッド・アルゴリズムURI。- 導入されたバージョン:
- 11
- 関連項目:
-
HMAC_SHA1
static final String HMAC_SHA1HMAC-SHA1 MAC署名メソッド・アルゴリズムURI。- 関連項目:
-
HMAC_SHA224
static final String HMAC_SHA224HMAC-SHA224 MACシグネチャ・メソッド・アルゴリズムURI。- 導入されたバージョン:
- 11
- 関連項目:
-
HMAC_SHA256
static final String HMAC_SHA256HMAC-SHA256 MACシグネチャ・メソッド・アルゴリズムURI。- 導入されたバージョン:
- 11
- 関連項目:
-
HMAC_SHA384
static final String HMAC_SHA384HMAC-SHA384 MACシグネチャ・メソッド・アルゴリズムURI。- 導入されたバージョン:
- 11
- 関連項目:
-
HMAC_SHA512
static final String HMAC_SHA512HMAC-SHA512 MACシグネチャ・メソッド・アルゴリズムURI。- 導入されたバージョン:
- 11
- 関連項目:
-
RSA_PSS
static final String RSA_PSSRSASSA-PSSシグネチャ・メソッド・アルゴリズムURI。XMLSignatureFactory.newSignatureMethod(RSA_PSS, null)
を呼び出すと、「RFC 6931セクション2.3.9」で定義されたデフォルト・パラメータを使用するSignatureMethod
オブジェクトが返されます。SHA-256はDigestMethod
、SHA-256のMGF1はMaskGenerationFunction
、32はSaltLength
、1はTrailerField
です。 このデフォルト・パラメータはRSAPSSParameterSpec
タイプとして表現され、SignatureMethod
オブジェクトのgetParameterSpec()
メソッドによって返されます。- 導入されたバージョン:
- 17
- 関連項目:
-
-
メソッドの詳細
-
getParameterSpec
AlgorithmParameterSpec getParameterSpec()このSignatureMethod
のアルゴリズム固有の入力パラメータを返します。返されたパラメータを
SignatureMethodParameterSpec
オブジェクトに型キャストできます。- 定義:
getParameterSpec
、インタフェース:AlgorithmMethod
- 戻り値:
- この
SignatureMethod
のアルゴリズム固有の入力パラメータ。指定されていない場合はnull
になることもある
-