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
ConstructorsConstructorDescriptionDefault constructor instantiating object with null values and empty list of documents -
Method Summary
Modifier and TypeMethodDescriptionList<eu.europa.esig.dss.model.DSSDocument> Gets all documentsList<eu.europa.esig.dss.model.DSSDocument> Returns a list of all found manifest documentsList<eu.europa.esig.dss.model.DSSDocument> Gets archive manifest documents (ASiC with CAdES only)eu.europa.esig.dss.model.DSSDocumentGets the original ASiC containerList<eu.europa.esig.dss.model.DSSDocument> Gets "package.zip" documentseu.europa.esig.dss.enumerations.ASiCContainerTypeGets the container typeList<eu.europa.esig.dss.model.DSSDocument> Gets evidence record documentsList<eu.europa.esig.dss.model.DSSDocument> Gets evidence record manifest documentsList<eu.europa.esig.dss.model.DSSDocument> Returns a list of folders present within the containerList<eu.europa.esig.dss.model.DSSDocument> Gets manifest documentseu.europa.esig.dss.model.DSSDocumentGets mimetype documentList<eu.europa.esig.dss.model.DSSDocument> This method returns a list of documents at the root level within the containerList<eu.europa.esig.dss.model.DSSDocument> Gets signature documentsList<eu.europa.esig.dss.model.DSSDocument> Gets signed documentsList<eu.europa.esig.dss.model.DSSDocument> Gets timestamp documents (ASiC with CAdES only)List<eu.europa.esig.dss.model.DSSDocument> Gets unsupported documentsGets the zip commentvoidsetArchiveManifestDocuments(List<eu.europa.esig.dss.model.DSSDocument> archiveManifestDocuments) Sets archive manifest documents (ASiC with CAdES only)voidsetAsicContainer(eu.europa.esig.dss.model.DSSDocument asicContainer) Sets the original ASiC containervoidsetContainerDocuments(List<eu.europa.esig.dss.model.DSSDocument> containerDocuments) Sets "package.zip" documentsvoidsetContainerType(eu.europa.esig.dss.enumerations.ASiCContainerType containerType) Sets the container typevoidsetEvidenceRecordDocuments(List<eu.europa.esig.dss.model.DSSDocument> evidenceRecordDocuments) Sets a list of evidence record documentsvoidsetEvidenceRecordManifestDocuments(List<eu.europa.esig.dss.model.DSSDocument> evidenceRecordManifestDocuments) Sets a list of evidence record manifest documentsvoidsetFolders(List<eu.europa.esig.dss.model.DSSDocument> folders) Sets a list of folders present within an archivevoidsetManifestDocuments(List<eu.europa.esig.dss.model.DSSDocument> manifestDocuments) Sets manifest documentsvoidsetMimeTypeDocument(eu.europa.esig.dss.model.DSSDocument mimeTypeDocument) Sets mimetype documentvoidsetSignatureDocuments(List<eu.europa.esig.dss.model.DSSDocument> signatureDocuments) Sets signature documentsvoidsetSignedDocuments(List<eu.europa.esig.dss.model.DSSDocument> signedDocuments) Sets signed documentsvoidsetTimestampDocuments(List<eu.europa.esig.dss.model.DSSDocument> timestampDocuments) Sets timestamp documents (ASiC with CAdES only)voidsetUnsupportedDocuments(List<eu.europa.esig.dss.model.DSSDocument> unsupportedDocuments) Sets unsupported documentsvoidsetZipComment(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
public eu.europa.esig.dss.model.DSSDocument getAsicContainer()Gets the original ASiC container- Returns:
DSSDocument
-
setAsicContainer
public void setAsicContainer(eu.europa.esig.dss.model.DSSDocument asicContainer) Sets the original ASiC container- Parameters:
asicContainer-DSSDocument
-
getContainerType
public eu.europa.esig.dss.enumerations.ASiCContainerType getContainerType()Gets the container type- Returns:
ASiCContainerType
-
setContainerType
public void setContainerType(eu.europa.esig.dss.enumerations.ASiCContainerType containerType) Sets the container type- Parameters:
containerType-ASiCContainerType
-
getZipComment
-
setZipComment
-
getMimeTypeDocument
public eu.europa.esig.dss.model.DSSDocument getMimeTypeDocument()Gets mimetype document- Returns:
DSSDocument
-
setMimeTypeDocument
public void setMimeTypeDocument(eu.europa.esig.dss.model.DSSDocument mimeTypeDocument) Sets mimetype document- Parameters:
mimeTypeDocument-DSSDocument
-
getSignatureDocuments
Gets signature documents- Returns:
- a list of
DSSDocuments
-
setSignatureDocuments
Sets signature documents- Parameters:
signatureDocuments- a list ofDSSDocuments
-
getManifestDocuments
Gets manifest documents- Returns:
- a list of
DSSDocuments
-
setManifestDocuments
Sets manifest documents- Parameters:
manifestDocuments- a list ofDSSDocuments
-
getArchiveManifestDocuments
Gets archive manifest documents (ASiC with CAdES only)- Returns:
- a list of
DSSDocuments
-
setArchiveManifestDocuments
public void setArchiveManifestDocuments(List<eu.europa.esig.dss.model.DSSDocument> archiveManifestDocuments) Sets archive manifest documents (ASiC with CAdES only)- Parameters:
archiveManifestDocuments- a list ofDSSDocuments
-
getEvidenceRecordManifestDocuments
Gets evidence record manifest documents- Returns:
- a list of
DSSDocuments
-
setEvidenceRecordManifestDocuments
public void setEvidenceRecordManifestDocuments(List<eu.europa.esig.dss.model.DSSDocument> evidenceRecordManifestDocuments) Sets a list of evidence record manifest documents- Parameters:
evidenceRecordManifestDocuments- a list ofDSSDocuments
-
getTimestampDocuments
Gets timestamp documents (ASiC with CAdES only)- Returns:
- a list of
DSSDocuments
-
setTimestampDocuments
Sets timestamp documents (ASiC with CAdES only)- Parameters:
timestampDocuments- a list ofDSSDocuments
-
getEvidenceRecordDocuments
Gets evidence record documents- Returns:
- a list of
DSSDocuments
-
setEvidenceRecordDocuments
public void setEvidenceRecordDocuments(List<eu.europa.esig.dss.model.DSSDocument> evidenceRecordDocuments) Sets a list of evidence record documents- Parameters:
evidenceRecordDocuments- a list ofDSSDocuments
-
getSignedDocuments
Gets signed documents- Returns:
- a list of
DSSDocuments
-
setSignedDocuments
Sets signed documents- Parameters:
signedDocuments- a list ofDSSDocuments
-
getUnsupportedDocuments
Gets unsupported documents- Returns:
- a list of
DSSDocuments
-
setUnsupportedDocuments
public void setUnsupportedDocuments(List<eu.europa.esig.dss.model.DSSDocument> unsupportedDocuments) Sets unsupported documents- Parameters:
unsupportedDocuments- a list ofDSSDocuments
-
getFolders
Returns a list of folders present within the container- Returns:
- a list of
DSSDocuments
-
setFolders
Sets a list of folders present within an archive- Parameters:
folders- a list ofDSSDocuments
-
getContainerDocuments
Gets "package.zip" documents- Returns:
- a list of
DSSDocuments
-
setContainerDocuments
Sets "package.zip" documents- Parameters:
containerDocuments- a list ofDSSDocuments
-
getRootLevelSignedDocuments
This method returns a list of documents at the root level within the container- Returns:
- a list of
DSSDocuments
-
getAllManifestDocuments
Returns a list of all found manifest documents- Returns:
- list of
DSSDocuments
-
getAllDocuments
Gets all documents- Returns:
- a list of
DSSDocuments
-