Class DefaultASiCWithXAdESFilenameFactory
java.lang.Object
eu.europa.esig.dss.asic.common.AbstractASiCFilenameFactory
eu.europa.esig.dss.asic.xades.signature.DefaultASiCWithXAdESFilenameFactory
- All Implemented Interfaces:
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 applicablegetManifestFilename
(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, getWithMetaInfFolder, isAvailableName
-
Constructor Details
-
DefaultASiCWithXAdESFilenameFactory
public DefaultASiCWithXAdESFilenameFactory()Default constructor
-
-
Method Details
-
getSignatureFilename
Description copied from interface:ASiCWithXAdESFilenameFactory
Returns a filename for a signature file to be created- Specified by:
getSignatureFilename
in interfaceASiCWithXAdESFilenameFactory
- Parameters:
asicContent
-ASiCContent
representing a content of an ASiC container- Returns:
String
signature filename
-
getManifestFilename
Description copied from interface:ASiCWithXAdESFilenameFactory
Returns a filename of a manifest file to be created- Specified by:
getManifestFilename
in interfaceASiCWithXAdESFilenameFactory
- Parameters:
asicContent
-ASiCContent
representing a content of an ASiC container- Returns:
String
manifest filename
-
getDataPackageFilename
Description copied from interface:ASiCWithXAdESFilenameFactory
Returns a name of a ZIP archive containing signed documents in case of an ASiC-E signature, when applicable- Specified by:
getDataPackageFilename
in interfaceASiCWithXAdESFilenameFactory
- Parameters:
asicContent
-ASiCContent
representing a content of an ASiC container- Returns:
String
data package filename
-