Class ManifestValidator

java.lang.Object
eu.europa.esig.dss.xades.validation.ManifestValidator

public class ManifestValidator extends Object
This class validates a ds:Manifest element against external files
 
 	<ds:Manifest Id="manifest">
 		<ds:Reference URI="l_19420170726bg.pdf">
 			<ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha512"/>
 			<ds:DigestValue>EUcwRQ....</ds:DigestValue>
 		</ds:Reference>
 		<ds:Reference URI="l_19420170726cs.pdf">
 			<ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha512"/>
 			<ds:DigestValue>NQNnr+F...</ds:DigestValue>
 		</ds:Reference>
 		...
 	</ds:Manifest>
 
 
  • Constructor Details

    • ManifestValidator

      public ManifestValidator(Element manifestElement, List<DSSDocument> detachedContents)
      Default constructor
      Parameters:
      manifestElement - Element ds:Manifest element
      detachedContents - a list of detached manifested DSSDocuments
    • ManifestValidator

      public ManifestValidator(org.apache.xml.security.signature.Manifest manifest, List<DSSDocument> detachedContents)
      The constructor with instantiated org.apache.xml.security.signature.Manifest and detached contents
      Parameters:
      manifest - Manifest
      detachedContents - a list of detached DSSDocuments
    • ManifestValidator

      public ManifestValidator(org.apache.xml.security.signature.Manifest manifest)
      The constructor with instantiated org.apache.xml.security.signature.Manifest
      Parameters:
      manifest - Manifest
  • Method Details