JavaTM Platform
Standard Ed. 6

javax.xml.crypto.dsig
インタフェース SignatureMethod

すべてのスーパーインタフェース:
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>
 
DigestMethod インスタンスは、XMLSignatureFactory クラスの newSignatureMethod メソッドを呼び出すことで作成されます。

導入されたバージョン:
1.6
関連項目:
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
 

フィールドの詳細

DSA_SHA1

static final String DSA_SHA1
DSAwithSHA1 (DSS) 署名メソッドアルゴリズム URI.。

関連項目:
定数フィールド値

RSA_SHA1

static final String RSA_SHA1
RSAwithSHA1 (PKCS #1) 署名メソッドアルゴリズム URI.。

関連項目:
定数フィールド値

HMAC_SHA1

static final String HMAC_SHA1
HMAC-SHA1 MAC 署名メソッドアルゴリズム URI.。

関連項目:
定数フィールド値
メソッドの詳細

getParameterSpec

AlgorithmParameterSpec getParameterSpec()
この SignatureMethod のアルゴリズム固有の入力パラメータを返します。  

返されたパラメータを SignatureMethodParameterSpec オブジェクトに型キャストできます。

定義:
インタフェース AlgorithmMethod 内の getParameterSpec
戻り値:
この SignatureMethod のアルゴリズム固有の入力パラメータ。 指定されていない場合は null も可

JavaTM Platform
Standard Ed. 6

バグの報告と機能のリクエスト
さらに詳しい API リファレンスおよび開発者ドキュメントについては、Java SE 開発者用ドキュメントを参照してください。開発者向けの詳細な解説、概念の概要、用語の定義、バグの回避策、およびコード実例が含まれています。

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。