JavaTM Platform
Standard Ed. 6

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

すべてのスーパーインタフェース:
XMLStructure

public interface SignatureProperties
extends XMLStructure

W3C Recommendation for XML-Signature Syntax and Processing」で定義されている XML SignatureProperties 要素の表現。XML スキーマ定義は、次のように定義されます。  


<element name="SignatureProperties" type="ds:SignaturePropertiesType"/> 
   <complexType name="SignaturePropertiesType">
     <sequence>
       <element ref="ds:SignatureProperty" maxOccurs="unbounded"/> 
     </sequence>
     <attribute name="Id" type="ID" use="optional"/> 
   </complexType>
 
SignatureProperties インスタンスは、XMLSignatureFactory クラスの newSignatureProperties メソッドを呼び出すことで作成されます。次に例を示します。  
   XMLSignatureFactory factory = XMLSignatureFactory.getInstance("DOM");
   SignatureProperties properties = 
        factory.newSignatureProperties(props, "signature-properties-1");
 

導入されたバージョン:
1.6
関連項目:
XMLSignatureFactory.newSignatureProperties(List, String), SignatureProperty

フィールドの概要
static String TYPE
          SignatureProperties 要素を識別する URI (これは、Reference クラスの type パラメータの値として指定して、リファラントの型を識別可能)。
 
メソッドの概要
 String getId()
          この SignatureProperties の識別子を返します。
 List getProperties()
          この SignatureProperties に格納されている 1 つ以上の SignatureProperty変更不可能なリストを返します。
 
インタフェース javax.xml.crypto.XMLStructure から継承されたメソッド
isFeatureSupported
 

フィールドの詳細

TYPE

static final String TYPE
SignatureProperties 要素を識別する URI (これは、Reference クラスの type パラメータの値として指定して、リファラントの型を識別可能)。

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

getId

String getId()
この SignatureProperties の識別子を返します。

戻り値:
この SignatureProperties の識別子。指定されていない場合は null

getProperties

List getProperties()
この SignatureProperties に格納されている 1 つ以上の SignatureProperty変更不可能なリストを返します。

戻り値:
1 つ以上の SignatureProperty の変更不可能なリスト

JavaTM Platform
Standard Ed. 6

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

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