public interface SignedInfo extends XMLStructure
SignedInfo
元素表示在
W3C Recommendation for XML-Signature Syntax and Processing定义的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>
一
SignedInfo
实例可以通过调用一个类的方法创建的
newSignedInfo
XMLSignatureFactory
。
Modifier and Type | Method and Description |
---|---|
CanonicalizationMethod |
getCanonicalizationMethod()
返回该
SignedInfo 的规范化方法。
|
InputStream |
getCanonicalizedData()
返回的信息的规范化签署后签名或验证操作字节。
|
String |
getId()
返回该
SignedInfo 可选
Id 属性。
|
List |
getReferences()
返回一个或多个
unmodifiable list
Reference s。
|
SignatureMethod |
getSignatureMethod()
返回该
SignedInfo 签名的方法。
|
isFeatureSupported
CanonicalizationMethod getCanonicalizationMethod()
SignedInfo
的规范化方法。
SignatureMethod getSignatureMethod()
SignedInfo
签名的方法。
List getReferences()
unmodifiable list
Reference
s。
Reference
s
String getId()
SignedInfo
可选
Id
属性。
null
如果不指定)
InputStream getCanonicalizedData()
InputStream
包含规范化字节,或
null
如果这
SignedInfo
尚未签署或验证
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.