Package eu.europa.esig.dss.asic.common
Class ASiCContent
java.lang.Object
eu.europa.esig.dss.asic.common.ASiCContent
- All Implemented Interfaces:
Serializable
Contains grouped documents representing an ASiC container's content
- See Also:
-
Constructor Summary
ConstructorDescriptionDefault constructor instantiating object with null values and empty list of documents -
Method Summary
Modifier and TypeMethodDescriptionGets all documentsReturns a list of all found manifest documentsGets archive manifest documents (ASiC with CAdES only)Gets the original ASiC containerGets "package.zip" documentsGets the container typeGets evidence record documentsGets evidence record manifest documentsReturns a list of folders present within the containerGets manifest documentsGets mimetype documentThis method returns a list of documents at the root level within the containerGets signature documentsGets signed documentsGets timestamp documents (ASiC with CAdES only)Gets unsupported documentsGets the zip commentvoid
setArchiveManifestDocuments
(List<DSSDocument> archiveManifestDocuments) Sets archive manifest documents (ASiC with CAdES only)void
setAsicContainer
(DSSDocument asicContainer) Sets the original ASiC containervoid
setContainerDocuments
(List<DSSDocument> containerDocuments) Sets package.zip" documentsvoid
setContainerType
(ASiCContainerType containerType) Sets the container typevoid
setEvidenceRecordDocuments
(List<DSSDocument> evidenceRecordDocuments) Sets a list of evidence record documentsvoid
setEvidenceRecordManifestDocuments
(List<DSSDocument> evidenceRecordManifestDocuments) Sets a list of evidence record manifest documentsvoid
setFolders
(List<DSSDocument> folders) Sets a list of folders present within an archivevoid
setManifestDocuments
(List<DSSDocument> manifestDocuments) Sets manifest documentsvoid
setMimeTypeDocument
(DSSDocument mimeTypeDocument) Sets mimetype documentvoid
setSignatureDocuments
(List<DSSDocument> signatureDocuments) Sets signature documentsvoid
setSignedDocuments
(List<DSSDocument> signedDocuments) Sets signed documentsvoid
setTimestampDocuments
(List<DSSDocument> timestampDocuments) Sets timestamp documents (ASiC with CAdES only)void
setUnsupportedDocuments
(List<DSSDocument> unsupportedDocuments) Sets unsupported documentsvoid
setZipComment
(String zipComment) Sets the zip comment
-
Constructor Details
-
ASiCContent
public ASiCContent()Default constructor instantiating object with null values and empty list of documents
-
-
Method Details
-
getAsicContainer
-
setAsicContainer
Sets the original ASiC container- Parameters:
asicContainer
-DSSDocument
-
getContainerType
-
setContainerType
Sets the container type- Parameters:
containerType
-ASiCContainerType
-
getZipComment
-
setZipComment
-
getMimeTypeDocument
-
setMimeTypeDocument
Sets mimetype document- Parameters:
mimeTypeDocument
-DSSDocument
-
getSignatureDocuments
Gets signature documents- Returns:
- a list of
DSSDocument
s
-
setSignatureDocuments
Sets signature documents- Parameters:
signatureDocuments
- a list ofDSSDocument
s
-
getManifestDocuments
Gets manifest documents- Returns:
- a list of
DSSDocument
s
-
setManifestDocuments
Sets manifest documents- Parameters:
manifestDocuments
- a list ofDSSDocument
s
-
getArchiveManifestDocuments
Gets archive manifest documents (ASiC with CAdES only)- Returns:
- a list of
DSSDocument
s
-
setArchiveManifestDocuments
Sets archive manifest documents (ASiC with CAdES only)- Parameters:
archiveManifestDocuments
- a list ofDSSDocument
s
-
getEvidenceRecordManifestDocuments
Gets evidence record manifest documents- Returns:
- a list of
DSSDocument
s
-
setEvidenceRecordManifestDocuments
Sets a list of evidence record manifest documents- Parameters:
evidenceRecordManifestDocuments
- a list ofDSSDocument
s
-
getTimestampDocuments
Gets timestamp documents (ASiC with CAdES only)- Returns:
- a list of
DSSDocument
s
-
setTimestampDocuments
Sets timestamp documents (ASiC with CAdES only)- Parameters:
timestampDocuments
- a list ofDSSDocument
s
-
getEvidenceRecordDocuments
Gets evidence record documents- Returns:
- a list of
DSSDocument
s
-
setEvidenceRecordDocuments
Sets a list of evidence record documents- Parameters:
evidenceRecordDocuments
- a list ofDSSDocument
s
-
getSignedDocuments
-
setSignedDocuments
Sets signed documents- Parameters:
signedDocuments
- a list ofDSSDocument
s
-
getUnsupportedDocuments
Gets unsupported documents- Returns:
- a list of
DSSDocument
s
-
setUnsupportedDocuments
Sets unsupported documents- Parameters:
unsupportedDocuments
- a list ofDSSDocument
s
-
getFolders
Returns a list of folders present within the container- Returns:
- a list of
DSSDocument
s
-
setFolders
Sets a list of folders present within an archive- Parameters:
folders
- a list ofDSSDocument
s
-
getContainerDocuments
Gets "package.zip" documents- Returns:
- a list of
DSSDocument
s
-
setContainerDocuments
Sets package.zip" documents- Parameters:
containerDocuments
- a list ofDSSDocument
s
-
getRootLevelSignedDocuments
This method returns a list of documents at the root level within the container- Returns:
- a list of
DSSDocument
s
-
getAllManifestDocuments
Returns a list of all found manifest documents- Returns:
- list of
DSSDocument
s
-
getAllDocuments
-