Package eu.europa.esig.dss.validation
Class ContainerInfo
java.lang.Object
eu.europa.esig.dss.validation.ContainerInfo
Contains information about an ASiC container
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets theASiCContainerType
Gets a list of manifest filesGets mimetype file contentReturns a list of signed document filenamesGets the zip commentboolean
Returns if the mimetype file presentvoid
setContainerType
(ASiCContainerType containerType) Sets theASiCContainerType
void
setManifestFiles
(List<ManifestFile> manifestFiles) Sets a list of manifest filesvoid
setMimeTypeContent
(String mimeTypeContent) Sets mimetype file contentvoid
setSignedDocumentFilenames
(List<String> signedDocumentFilenames) Sets signed document filenamesvoid
setZipComment
(String zipComment) Sets the zip comment
-
Constructor Details
-
ContainerInfo
public ContainerInfo()Default constructor instantiating object with null values
-
-
Method Details
-
getContainerType
Gets theASiCContainerType
- Returns:
ASiCContainerType
-
setContainerType
Sets theASiCContainerType
- Parameters:
containerType
-ASiCContainerType
-
getZipComment
Gets the zip comment- Returns:
String
-
setZipComment
Sets the zip comment- Parameters:
zipComment
-String
-
getMimeTypeContent
Gets mimetype file content- Returns:
String
-
setMimeTypeContent
Sets mimetype file content- Parameters:
mimeTypeContent
-String
-
isMimeTypeFilePresent
public boolean isMimeTypeFilePresent()Returns if the mimetype file present- Returns:
- TRUE if the mimetype present, FALSE otherwise
-
getSignedDocumentFilenames
Returns a list of signed document filenames- Returns:
- a list of
String
s
-
setSignedDocumentFilenames
Sets signed document filenames- Parameters:
signedDocumentFilenames
- a list ofString
s
-
getManifestFiles
Gets a list of manifest files- Returns:
- a list of
ManifestFile
s
-
setManifestFiles
Sets a list of manifest files- Parameters:
manifestFiles
- a list of manifest files
-