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
-
Method Summary
Modifier and TypeMethodDescriptionstatic DSSDocument
getSignedDocument
(ASiCContent extractResult, String signatureFilename) Returns a list of signed documents by a signature with a givensignatureFilename
static boolean
isCoveredByManifest
(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
-ASiCContent
representing an ASiC container extraction resultsignatureFilename
-String
a filename of a signature to get extracted document for- Returns:
- a list of
DSSDocument
s
-
isCoveredByManifest
Checks if a document (e.g. a signature) with the given filename is covered by a manifest- Parameters:
manifestDocuments
- a list of manifestDSSDocument
s extracted from the archivefilename
-String
a filename of a document to check- Returns:
- TRUE if the document is covered by a manifest, FALSE otherwise
-