Interface ASiCWithXAdESFilenameFactory
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
DefaultASiCWithXAdESFilenameFactory
,SimpleASiCWithXAdESFilenameFactory
This interface is used to provide filenames for newly created ZIP-entries
during a signature creation or extension for an ASiC with XAdES containers.
NOTE: Names of signature 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 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 created
-
Method Details
-
getSignatureFilename
Returns a filename for a signature file to be created- Parameters:
asicContent
-ASiCContent
representing a content of an ASiC container- Returns:
String
signature filename
-
getManifestFilename
Returns a filename of a manifest file to be created- Parameters:
asicContent
-ASiCContent
representing a content of an ASiC container- Returns:
String
manifest filename
-
getDataPackageFilename
Returns a name of a ZIP archive containing signed documents in case of an ASiC-E signature, when applicable- Parameters:
asicContent
-ASiCContent
representing a content of an ASiC container- Returns:
String
data package filename
-