public interface SignatureProperties extends XMLStructure
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>
可以通过调用XMLSignatureFactory
类的newSignatureProperties
方法创建一个SignatureProperties
实例;
例如:
XMLSignatureFactory factory = XMLSignatureFactory.getInstance("DOM");
SignatureProperties properties =
factory.newSignatureProperties(props, "signature-properties-1");
XMLSignatureFactory.newSignatureProperties(List, String)
, SignatureProperty
Modifier and Type | Field and Description |
---|---|
static String |
TYPE
URI标识 SignatureProperties 元件(这可以被指定为值type 所述的参数Reference 类来识别引用的类型)。
|
Modifier and Type | Method and Description |
---|---|
String |
getId()
返回此
SignatureProperties 的ID。
|
List |
getProperties()
返回此SignatureProperties中包含的一个或多个 SignatureProperty s的SignatureProperties 。
|
isFeatureSupported
static final String TYPE
SignatureProperties
元件(这可以被指定为值type
所述的参数Reference
类来识别引用的类型)。
String getId()
SignatureProperties
的ID。
SignatureProperties
的ID(或
null
如果未指定)
List getProperties()
SignatureProperty
的SignatureProperties
。
SignatureProperty
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.