|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.rsa.certj.xml.dsig.Manifest
This class creates and stores the manifest element in an XML signature. It
includes a list of Reference
objects that each reference
validation uses separately. The reference validation of the
manifest is under application control.
Constructor Summary |
|
Manifest()
Generates an empty |
|
Manifest(Reference[] references)
Generates a |
|
Manifest(Reference[] references,
String id)
Generates a |
Method Summary |
|
getId()
Returns the ID of this |
|
getManifestContent()
Returns the |
|
void |
setId(String id)
Sets the ID of this |
void |
setManifestContent(Reference[] references)
Sets the list of |
boolean |
verify(XMLSignature xmlSignature,
StringBuffer[] descriptions)
Validates each reference element in this |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Manifest()
Manifest
instance.public Manifest(Reference[] references)
Manifest
instance by initializing the
Reference
list with references.
Parameters
references | A list of |
public Manifest(Reference[] references, String id)
Manifest
instance by initializing the
Reference
list with references and assigning the ID
of this Manifest
to id.
Parameters
references | A list of | ||
id | A |
Method Detail |
public void setId(String id)
Manifest
instance.
Parameters
id | A |
public String getId()
Manifest
instance.
Returns
String
object uniquely identifying this
Manifest
instance.public void setManifestContent(Reference[] references)
Reference
objects belonging to this
Manifest
instance to references.
Parameters
references | A |
public Reference[] getManifestContent()
Reference
object array stored in this
Manifest
instance.
Returns
Reference
array.public boolean verify(XMLSignature xmlSignature, StringBuffer[] descriptions) throws XMLException
Manifest
instance
and stores the validation result in descriptions.
This method returns true
only when all
parts of the reference validation succeed.
Parameters
xmlSignature | An | ||
descriptions | A |
Returns
true
if each reference validation
succeeds; false
, otherwiseThrows
XMLException
- If an error occurs while verifying
the manifest.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |