|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
public interface SignatureMethod
「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>
DigestMethod インスタンスは、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 のアルゴリズム固有の入力パラメータを返します。 |
| インタフェース javax.xml.crypto.XMLStructure から継承されたメソッド |
|---|
isFeatureSupported |
| インタフェース javax.xml.crypto.AlgorithmMethod から継承されたメソッド |
|---|
getAlgorithm |
| フィールドの詳細 |
|---|
static final String DSA_SHA1
static final String RSA_SHA1
static final String HMAC_SHA1
| メソッドの詳細 |
|---|
AlgorithmParameterSpec getParameterSpec()
SignatureMethod のアルゴリズム固有の入力パラメータを返します。
返されたパラメータを SignatureMethodParameterSpec オブジェクトに型キャストできます。
AlgorithmMethod 内の getParameterSpecSignatureMethod のアルゴリズム固有の入力パラメータ。指定されていない場合は null になることもある
|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
Copyright 2009 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。