Class ASiCWithCAdESUtils
java.lang.Object
eu.europa.esig.dss.asic.cades.validation.ASiCWithCAdESUtils
Class containing utils methods for dealing with ASiC with CAdES container
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic DSSDocumentgetSignedDocument(ASiCContent extractResult, String signatureFilename) Returns a list of signed documents by a signature with a givensignatureFilenamestatic booleanisCoveredByManifest(List<DSSDocument> manifestDocuments, String filename) Checks if a document (e.g.
-
Field Details
-
DEFAULT_ARCHIVE_MANIFEST_FILENAME
The default Archive Manifest filename- See Also:
-
-
Method Details
-
getSignedDocument
Returns a list of signed documents by a signature with a givensignatureFilename- Parameters:
extractResult-ASiCContentrepresenting an ASiC container extraction resultsignatureFilename-Stringa filename of a signature to get extracted document for- Returns:
- a list of
DSSDocuments
-
isCoveredByManifest
Checks if a document (e.g. a signature) with the given filename is covered by a manifest- Parameters:
manifestDocuments- a list of manifestDSSDocuments extracted from the archivefilename-Stringa filename of a document to check- Returns:
- TRUE if the document is covered by a manifest, FALSE otherwise
-