Class DefaultASiCWithXAdESFilenameFactory
java.lang.Object
eu.europa.esig.dss.asic.common.AbstractASiCFilenameFactory
eu.europa.esig.dss.asic.xades.signature.DefaultASiCWithXAdESFilenameFactory
- All Implemented Interfaces:
ASiCEvidenceRecordFilenameFactory
,ASiCFilenameFactory
,ASiCWithXAdESFilenameFactory
,Serializable
- Direct Known Subclasses:
SimpleASiCWithXAdESFilenameFactory
public class DefaultASiCWithXAdESFilenameFactory
extends AbstractASiCFilenameFactory
implements ASiCWithXAdESFilenameFactory
This class provides a default implementation of
ASiCWithXAdESFilenameFactory
used within basic configuration of DSS for creation of filenames for new container entries.- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetDataPackageFilename
(ASiCContent asicContent) Returns a name of a ZIP archive containing signed documents in case of an ASiC-E signature, when applicablegetEvidenceRecordFilename
(ASiCContent asicContent, EvidenceRecordTypeEnum evidenceRecordType) Returns a filename for an evidence record file to be createdgetEvidenceRecordManifestFilename
(ASiCContent asicContent) Returns a filename for an evidence record's ASIC manifest file to be createdgetManifestFilename
(ASiCContent asicContent) Returns a filename of a manifest file to be createdgetSignatureFilename
(ASiCContent asicContent) Returns a filename for a signature file to be createdMethods inherited from class eu.europa.esig.dss.asic.common.AbstractASiCFilenameFactory
assertASiCContentIsValid, assertFilenameValid, getNextAvailableDocumentName, getValidDataPackageFilename, getValidEvidenceRecordManifestFilename, getWithMetaInfFolder, isAvailableName
-
Constructor Details
-
DefaultASiCWithXAdESFilenameFactory
public DefaultASiCWithXAdESFilenameFactory()Default constructor
-
-
Method Details
-
getSignatureFilename
Description copied from interface:ASiCFilenameFactory
Returns a filename for a signature file to be created- Specified by:
getSignatureFilename
in interfaceASiCFilenameFactory
- Parameters:
asicContent
-ASiCContent
representing a content of an ASiC container- Returns:
String
signature filename
-
getManifestFilename
Description copied from interface:ASiCFilenameFactory
Returns a filename of a manifest file to be created- Specified by:
getManifestFilename
in interfaceASiCFilenameFactory
- Parameters:
asicContent
-ASiCContent
representing a content of an ASiC container- Returns:
String
manifest filename
-
getDataPackageFilename
Description copied from interface:ASiCFilenameFactory
Returns a name of a ZIP archive containing signed documents in case of an ASiC-E signature, when applicable- Specified by:
getDataPackageFilename
in interfaceASiCFilenameFactory
- Parameters:
asicContent
-ASiCContent
representing a content of an ASiC container- Returns:
String
data package filename
-
getEvidenceRecordFilename
public String getEvidenceRecordFilename(ASiCContent asicContent, EvidenceRecordTypeEnum evidenceRecordType) Description copied from interface:ASiCEvidenceRecordFilenameFactory
Returns a filename for an evidence record file to be created- Specified by:
getEvidenceRecordFilename
in interfaceASiCEvidenceRecordFilenameFactory
- Parameters:
asicContent
-ASiCContent
representing a content of an ASiC containerevidenceRecordType
-EvidenceRecordTypeEnum
type of the evidence record to get a new filename for- Returns:
String
evidence record filename
-
getEvidenceRecordManifestFilename
Description copied from interface:ASiCEvidenceRecordFilenameFactory
Returns a filename for an evidence record's ASIC manifest file to be created- Specified by:
getEvidenceRecordManifestFilename
in interfaceASiCEvidenceRecordFilenameFactory
- Parameters:
asicContent
-ASiCContent
representing a content of an ASiC container- Returns:
String
evidence record's manifest filename
-