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
References。
|
SignatureMethod |
getSignatureMethod()
返回该
SignedInfo签名的方法。
|
isFeatureSupportedCanonicalizationMethod getCanonicalizationMethod()
SignedInfo的规范化方法。
SignatureMethod getSignatureMethod()
SignedInfo签名的方法。
List getReferences()
unmodifiable list
References。
References
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.