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 。
|
isFeatureSupported
CanonicalizationMethod 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.