<ds:Manifest> elements.
This element holds the Reference elements
| Modifier and Type | Field and Description |
|---|---|
| private static final Logger | |
| public static final int | MAXIMUM_REFERENCE_COUNT
The default maximum number of references per Manifest, if secure validation is enabled. |
| private List | perManifestResolvers
Field perManifestResolvers |
| private static Integer | |
| private List | references
Field references |
| private Element[] | |
| private Map | resolverProperties
Field resolverProperties |
| private boolean | |
| private List | verificationResults
Field verificationResults[] |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addDocument(String
the URI of the resource where the XML instance was stored baseURI, String URI attribute in Reference for specifying
where data iscom.sun.org.apache.xml.internal.security.signature.Transforms object with an ordered
list of transformations to be performed. transforms, String The digest algorithm URI to be used. digestURI, String referenceId, String referenceType)This |
| public void | addResourceResolver(ResourceResolverSpi
ResourceResolverSpi can provide the implementation subclass of
ResourceResolverSpi for retrieving resource.Adds Resource Resolver for retrieving resources at specified |
| public void | generateDigestValues()
The calculation of the DigestValues in the References must be after the References are already added to the document and during the signing process. |
| public String | getBaseLocalName()
Implements abstract com. Method getBaseLocalName Returns the localname of the Elements of the sub-class. |
| public String | |
| public int | |
| public List | |
| public XMLSignatureInput | Returns: The contents after transformation of the reference i.Method getReferencedContentAfterTransformsItem |
| public XMLSignatureInput | Returns: The contents before transformation of the reference i.Method getReferencedContentPriorTransformsItem |
| public Map | |
| public String | |
| public byte[] | Returns: The signed content of the i reference.Method getSignedContentItem |
| public int | Returns: The number of references contained in this reference.Method getSignedContentLength |
| public boolean | Returns: the results of reference validation at the specified indexan index of into a index)Manifest or a SignedInfoAfter verifying a |
| public List | |
| public boolean | |
| public Reference | |
| public void | |
| public void | setResolverProperty(String
the key key, String the value value)Used to pass parameters like proxy servers etc to the ResourceResolver implementation. |
| public boolean | Returns: true if all References verify, false if one or more do not verify.Used to do a reference
validation of all enclosed references using the |
| public boolean | Returns: true if all References verify, false if one or more do not verify.Used to do a reference
validation of all enclosed references using the |
| LOG | back to summary |
|---|---|
| private static final Logger LOG Hides com. | |
| MAXIMUM_REFERENCE_COUNT | back to summary |
|---|---|
| public static final int MAXIMUM_REFERENCE_COUNT The default maximum number of references per Manifest, if secure validation is enabled. | |
| perManifestResolvers | back to summary |
|---|---|
| private List<ResourceResolverSpi> perManifestResolvers Field perManifestResolvers | |
| referenceCount | back to summary |
|---|---|
private static Integer referenceCount
| |
| references | back to summary |
|---|---|
| private List<Reference> references Field references | |
| referencesEl | back to summary |
|---|---|
| private Element[] referencesEl | |
| resolverProperties | back to summary |
|---|---|
| private Map<String, String> resolverProperties Field resolverProperties | |
| secureValidation | back to summary |
|---|---|
| private boolean secureValidation | |
| verificationResults | back to summary |
|---|---|
| private List<VerifiedReference> verificationResults Field verificationResults[] | |
| Manifest | back to summary |
|---|---|
| public Manifest(Document doc) Constructs | |
| Manifest | back to summary |
|---|---|
| public Manifest(Element element, String baseURI) throws XMLSecurityException Constructor Manifest | |
| Manifest | back to summary |
|---|---|
| public Manifest(Element element, String baseURI, boolean secureValidation) throws XMLSecurityException Constructor Manifest | |
| addDocument | back to summary |
|---|---|
| public void addDocument(String baseURI, String referenceURI, Transforms transforms, String digestURI, String referenceId, String referenceType) throws XMLSignatureException This
| |
| addResourceResolver | back to summary |
|---|---|
| public void addResourceResolver(ResourceResolverSpi resolver) Adds Resource Resolver for retrieving resources at specified
| |
| generateDigestValues | back to summary |
|---|---|
| public void generateDigestValues() throws XMLSignatureException, ReferenceNotInitializedException The calculation of the DigestValues in the References must be after the References are already added to the document and during the signing process. This ensures that all necessary data is in place. | |
| getBaseLocalName | back to summary |
|---|---|
| public String getBaseLocalName() Implements abstract com. Doc from com. Method getBaseLocalName Returns the localname of the Elements of the sub-class.
| |
| getId | back to summary |
|---|---|
| public String getId() Returns the
| |
| getLength | back to summary |
|---|---|
| public int getLength() Return the nonnegative number of added references.
| |
| getPerManifestResolvers | back to summary |
|---|---|
| public List Get the Per-Manifest Resolver List
| |
| getReferencedContentAfterTransformsItem | back to summary |
|---|---|
| public XMLSignatureInput getReferencedContentAfterTransformsItem(int i) throws XMLSecurityException Method getReferencedContentAfterTransformsItem
| |
| getReferencedContentBeforeTransformsItem | back to summary |
|---|---|
| public XMLSignatureInput getReferencedContentBeforeTransformsItem(int i) throws XMLSecurityException Method getReferencedContentPriorTransformsItem
| |
| getResolverProperties | back to summary |
|---|---|
| public Map Get the resolver property map | |
| getResolverProperty | back to summary |
|---|---|
| public String getResolverProperty(String key) Returns the value at specified key | |
| getSignedContentItem | back to summary |
|---|---|
| public byte[] getSignedContentItem(int i) throws XMLSignatureException Method getSignedContentItem
| |
| getSignedContentLength | back to summary |
|---|---|
| public int getSignedContentLength() Method getSignedContentLength
| |
| getVerificationResult | back to summary |
|---|---|
| public boolean getVerificationResult(int index) throws XMLSecurityException After verifying a
| |
| getVerificationResults | back to summary |
|---|---|
| public List Get the list of verification result objects | |
| isSecureValidation | back to summary |
|---|---|
| public boolean isSecureValidation() | |
| item | back to summary |
|---|---|
| public Reference item(int i) throws XMLSecurityException Return the ith reference. Valid | |
| setId | back to summary |
|---|---|
| public void setId(String Id) Sets the
| |
| setResolverProperty | back to summary |
|---|---|
| public void setResolverProperty(String key, String value) Used to pass parameters like proxy servers etc to the ResourceResolver implementation. | |
| verifyReferences | back to summary |
|---|---|
| public boolean verifyReferences() throws MissingResourceFailureException, XMLSecurityException Used to do a reference
validation of all enclosed references using the This step loops through all
| |
| verifyReferences | back to summary |
|---|---|
| public boolean verifyReferences(boolean followManifests) throws MissingResourceFailureException, XMLSecurityException Used to do a reference
validation of all enclosed references using the This step loops through all
| |