public interface SignedInfo extends XMLStructure
SignedInfo元素的表示 。
XML模式定义定义为:
<element name="SignedInfo" type="ds:SignedInfoType"/> <complexType name="SignedInfoType"> <sequence> <element ref="ds:CanonicalizationMethod"/> <element ref="ds:SignatureMethod"/> <element ref="ds:Reference" maxOccurs="unbounded"/> </sequence> <attribute name="Id" type="ID" use="optional"/> </complexType>
可以通过调用XMLSignatureFactory类的newSignedInfo方法之一来创建一个SignedInfo实例。
| Modifier and Type | Method and Description |
|---|---|
CanonicalizationMethod |
getCanonicalizationMethod()
返回此的规范化方法
SignedInfo 。
|
InputStream |
getCanonicalizedData()
在签名或验证操作后返回规范化的已签名信息字节。
|
String |
getId()
返回此
SignedInfo的可选
Id
SignedInfo 。
|
List |
getReferences()
返回一个 unmodifiable list一个或多个Reference秒。
|
SignatureMethod |
getSignatureMethod()
返回此签名法
SignedInfo 。
|
isFeatureSupportedCanonicalizationMethod getCanonicalizationMethod()
SignedInfo 。
SignatureMethod getSignatureMethod()
SignedInfo 。
List getReferences()
unmodifiable list一个或多个Reference秒。
Reference的不可修改的列表
String getId()
SignedInfo的可选
Id
SignedInfo 。
null如果未指定)
InputStream getCanonicalizedData()
InputStream containing the canonicalized bytes, or
null if this
SignedInfo has not been signed or validated yet
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.