Interface ASiCWithCAdESFilenameFactory
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
DefaultASiCWithCAdESFilenameFactory, SimpleASiCWithCAdESFilenameFactory
public interface ASiCWithCAdESFilenameFactory
This interface is used to provide filenames for newly created ZIP-entries
during a signature creation or extension for an ASiC with CAdES containers.
NOTE: Names of signature, timestamp or manifest files shall be defined with leading "META-INF/" string,
specifying the target folder of the signature file within a container.
As the same factory is used for ASiC-S and ASiC-E container types,
it shall implement logic for both container types, when applicable.
The type of the container can be obtained from
asicContent.getContainerType() method.-
Method Summary
Modifier and TypeMethodDescriptiongetArchiveManifestFilename(eu.europa.esig.dss.asic.common.ASiCContent asicContent) Returns a new filename of an archive manifest file to be moved.getDataPackageFilename(eu.europa.esig.dss.asic.common.ASiCContent arg0) getEvidenceRecordFilename(eu.europa.esig.dss.asic.common.ASiCContent arg0, eu.europa.esig.dss.enumerations.EvidenceRecordTypeEnum arg1) getEvidenceRecordManifestFilename(eu.europa.esig.dss.asic.common.ASiCContent arg0) getManifestFilename(eu.europa.esig.dss.asic.common.ASiCContent arg0) getSignatureFilename(eu.europa.esig.dss.asic.common.ASiCContent arg0) getTimestampFilename(eu.europa.esig.dss.asic.common.ASiCContent asicContent) Returns a filename for a timestamp file to be created
-
Method Details
-
getTimestampFilename
-
getArchiveManifestFilename
Returns a new filename of an archive manifest file to be moved. NOTE: ASiC-E with CAdES shall always create a new archive manifest with the same name, while moving the last existing archive manifest.- Parameters:
asicContent-ASiCContentrepresenting a content of an ASiC container- Returns:
Stringmanifest filename
-
getSignatureFilename
-
getManifestFilename
-
getDataPackageFilename
-
getEvidenceRecordFilename
String getEvidenceRecordFilename(eu.europa.esig.dss.asic.common.ASiCContent arg0, eu.europa.esig.dss.enumerations.EvidenceRecordTypeEnum arg1) -
getEvidenceRecordManifestFilename
-