Class AbstractASiCDataToSignHelperBuilder
java.lang.Object
eu.europa.esig.dss.asic.common.signature.AbstractASiCDataToSignHelperBuilder
- Direct Known Subclasses:
ASiCWithCAdESDataToSignHelperBuilder
,ASiCWithXAdESDataToSignHelperBuilder
Builds a relevant
GetDataToSignASiCWithCAdESHelper
for ASiC container dataToSign creation-
Constructor Summary
ModifierConstructorDescriptionprotected
Default constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected DSSDocument
createPackageZip
(List<DSSDocument> documents, Date signingDate) Creates a zip with all files to be signedprotected DSSDocument
getASiCSSignedDocument
(List<DSSDocument> filesToBeSigned, Date signingDate) This method returns a document to be signed in case of an ASiC-S containerprotected abstract String
getDataPackageName
(ASiCContent asicContent) This method returns a name for a package zip container, containing the original signer data
-
Constructor Details
-
AbstractASiCDataToSignHelperBuilder
protected AbstractASiCDataToSignHelperBuilder()Default constructor
-
-
Method Details
-
getASiCSSignedDocument
This method returns a document to be signed in case of an ASiC-S container- Parameters:
filesToBeSigned
- a list ofDSSDocument
s to be signedsigningDate
-Date
representing the signing time- Returns:
DSSDocument
to be signed
-
createPackageZip
Creates a zip with all files to be signed- Parameters:
documents
- a list ofDSSDocument
ssigningDate
-Date
- Returns:
DSSDocument
-
getDataPackageName
This method returns a name for a package zip container, containing the original signer data- Parameters:
asicContent
-ASiCContent
containing the original signer data- Returns:
String
-