public interface Manifest extends XMLStructure
Manifest
元在
W3C Recommendation for XML-Signature Syntax and Processing定义。XML架构定义的定义是:
<element name="Manifest" type="ds:ManifestType"/>
<complexType name="ManifestType">
<sequence>
<element ref="ds:Reference" maxOccurs="unbounded"/>
</sequence>
<attribute name="Id" type="ID" use="optional"/>
</complexType>
一
Manifest
实例可以通过调用一个类的方法创建
XMLSignatureFactory
newManifest
;例如:
xmlsignaturefactory厂= xmlsignaturefactory getInstance(DOM);列表引用= singletonlist(factory.newreference集合。(“# reference-1”,digestmethod。SHA1));明显=工厂。newmanifest(引用,“manifest-1”);
XMLSignatureFactory.newManifest(List)
,
XMLSignatureFactory.newManifest(List, String)
Modifier and Type | Method and Description |
---|---|
String |
getId()
返回该
Manifest ID。
|
List |
getReferences()
|
isFeatureSupported
static final String TYPE
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.