|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
public interface SignatureProperty
「W3C Recommendation for XML-Signature Syntax and Processing」で定義されている XML SignatureProperty 要素の表現。XML スキーマ定義は、次のように定義されます。
<element name="SignatureProperty" type="ds:SignaturePropertyType"/>
<complexType name="SignaturePropertyType" mixed="true">
<choice maxOccurs="unbounded">
<any namespace="##other" processContents="lax"/>
<!-- (1,1) elements from (1, unbounded) namespaces -->
</choice>
<attribute name="Target" type="anyURI" use="required"/>
<attribute name="Id" type="ID" use="optional"/>
</complexType>
SignatureProperty インスタンスは、XMLSignatureFactory クラスの newSignatureProperty メソッドを呼び出すことで作成されます。次に例を示します。
XMLSignatureFactory factory = XMLSignatureFactory.getInstance("DOM");
SignatureProperty property = factory.newSignatureProperty
(Collections.singletonList(content), "#Signature-1", "TimeStamp");
XMLSignatureFactory.newSignatureProperty(List, String, String),
SignatureProperties| メソッドの概要 | |
|---|---|
List |
getContent()
この SignatureProperty に格納されている 1 つ以上の XMLStructure の変更不可能なリストを返します。 |
String |
getId()
この SignatureProperty の識別子を返します。 |
String |
getTarget()
この SignatureProperty のターゲット URI を返します。 |
| インタフェース javax.xml.crypto.XMLStructure から継承されたメソッド |
|---|
isFeatureSupported |
| メソッドの詳細 |
|---|
String getTarget()
SignatureProperty のターゲット URI を返します。
SignatureProperty のターゲット URI。null になることはないString getId()
SignatureProperty の識別子を返します。
SignatureProperty の識別子。指定されていない場合は nullList getContent()
SignatureProperty に格納されている 1 つ以上の XMLStructure の変更不可能なリストを返します。これらは、XMLSignature の生成に関する追加情報項目 (つまり、署名生成に使用される暗号化ハードウェアの日時タイムスタンプまたはシリアル番号) を表現します。
XMLStructure の変更不可能なリスト
|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
Copyright 2009 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。