public interface SignerManifest
Signer.createManifest()| Modifier and Type | Method and Description |
|---|---|
SignerReference |
addReference(SignerReference reference)
Adds a reference object to the manifest.
|
void |
computeDigestValues()
Computes the digest value for each reference of the manifest.
|
SignerReference |
createReference()
Used by the application to create an empty reference object.
|
java.lang.String |
getId()
Gets the Id attribute value of the Manifest element.
|
SignerReference[] |
getSignerReferences()
Gets an array containing all reference objects registered in the context of this manifest.
|
SignerReference |
removeReference(SignerReference reference)
Removes the specified reference from this signature property container.
|
void |
setId(java.lang.String id)
Sets the Id attribute value of the Manifest element.
|
org.w3c.dom.Element |
toElement()
Gets a DOM element representation of this manifest.
|
void setId(java.lang.String id)
null, the possibly existing Id attribute will be
removed. If the manifest has already been added to a Object container, this method will have no
effect.id - The value for the Id attribute of the Manifest element.java.lang.String getId()
null if the Id attribute is not available.SignerReference[] getSignerReferences()
null if there are no references available.SignerReference createReference() throws ManifestException
ManifestException - if creating the reference object fails for any reason.SignerReference addReference(SignerReference reference) throws ManifestException
SignerSignedInfo), this method will have no effect. If the manifest
has already been added to an Object container, this method has also no effect.reference - The reference to be added. Must not be null.null if adding the reference is impossible (see above).ManifestException - if a Reference without its URI attribute set is to be added.void computeDigestValues()
throws ManifestException
ManifestException - if computing the digest value for one of the manifest's references fails
for any reason.SignerReference removeReference(SignerReference reference)
Object container. If the reference is not in
the manifest, nothing will happen.reference - The reference to be removed. Must not be null.null if the specified reference is not in this manifest
or if the manifest has already been incorporated into an Object container.org.w3c.dom.Element toElement()