|
Spec-Zone .ru
спецификации, руководства, описания, API
|
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SignedInfo extends XMLStructure
An representation of the XML SignedInfo element as
defined in the .
The XML Schema Definition is defined as:
<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>
A SignedInfo instance may be created by invoking one of the
newSignedInfo methods of the
XMLSignatureFactory class.
XMLSignatureFactory.newSignedInfo(CanonicalizationMethod, SignatureMethod, List),
XMLSignatureFactory.newSignedInfo(CanonicalizationMethod, SignatureMethod, List, String)| Modifier and Type | Method and Description |
|---|---|
CanonicalizationMethod |
getCanonicalizationMethod()
Returns the canonicalization method of this SignedInfo. |
InputStream |
getCanonicalizedData()
Returns the canonicalized signed info bytes after a signing or validation operation. |
String |
getId()
Returns the optional Id attribute of this
SignedInfo. |
List |
getReferences()
Returns an unmodifiable list of one or more References. |
SignatureMethod |
getSignatureMethod()
Returns the signature method of this SignedInfo. |
| Methods inherited from interface javax.xml.crypto.XMLStructure |
|---|
isFeatureSupported |
| Method Detail |
|---|
CanonicalizationMethod getCanonicalizationMethod()
SignedInfo.
SignatureMethod getSignatureMethod()
SignedInfo.
List getReferences()
unmodifiable list of one or more References.
ReferencesString getId()
Id attribute of this
SignedInfo.
null if not specified)InputStream getCanonicalizedData()
InputStream containing the canonicalized bytes,
or null if this SignedInfo has not been
signed or validated yet
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright © 1993, 2010, Oracle Corporation. All rights reserved.