public interface SignatureProperty extends XMLStructure
SignatureProperty
元在
W3C Recommendation for XML-Signature Syntax and Processing定义。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厂= xmlsignaturefactory getInstance(DOM);signatureproperty财产= factory.newsignatureproperty(集合。singletonlist(内容),“# signature-1”、“时间戳”);
XMLSignatureFactory.newSignatureProperty(List, String, String)
,
SignatureProperties
Modifier and Type | Method and Description |
---|---|
List |
getContent()
|
String |
getId()
返回该
SignatureProperty ID。
|
String |
getTarget()
返回该
SignatureProperty 目标URI。
|
isFeatureSupported
String getTarget()
SignatureProperty
目标URI。
SignatureProperty
目标URI(不
null
)
String getId()
SignatureProperty
ID。
SignatureProperty
ID(或
null
如果不指定)
List getContent()
XMLStructure
s,都包含在这一个
unmodifiable list
SignatureProperty
。这些代表的附加信息有关的
XMLSignature
生成(即日期/时间的加密硬件用于签名盖章或序列号)。
XMLStructure
s
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.