Class ASiCWithXAdESDataToSignHelperBuilder
java.lang.Object
eu.europa.esig.dss.asic.xades.signature.ASiCWithXAdESDataToSignHelperBuilder
Builds a relevant
GetDataToSignASiCWithXAdESHelper for ASiC with XAdES dataToSign creation-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ASiCWithXAdESFilenameFactoryDefines rules for filename creation for new data package file. -
Constructor Summary
ConstructorsConstructorDescriptionASiCWithXAdESDataToSignHelperBuilder(ASiCWithXAdESFilenameFactory asicFilenameFactory) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionbuild(eu.europa.esig.dss.asic.common.ASiCContent asicContent, ASiCWithXAdESSignatureParameters parameters) This method is used to create aGetDataToSignASiCWithXAdESHelperfrom anASiCContentprotected eu.europa.esig.dss.model.DSSDocumentcreatePackageZip(List<eu.europa.esig.dss.model.DSSDocument> arg0, Date arg1) protected eu.europa.esig.dss.model.DSSDocumentgetASiCSSignedDocument(List<eu.europa.esig.dss.model.DSSDocument> arg0, Date arg1) protected StringgetDataPackageName(eu.europa.esig.dss.asic.common.ASiCContent asicContent)
-
Field Details
-
asicFilenameFactory
Defines rules for filename creation for new data package file.
-
-
Constructor Details
-
ASiCWithXAdESDataToSignHelperBuilder
Default constructor- Parameters:
asicFilenameFactory-ASiCWithXAdESFilenameFactory
-
-
Method Details
-
build
public GetDataToSignASiCWithXAdESHelper build(eu.europa.esig.dss.asic.common.ASiCContent asicContent, ASiCWithXAdESSignatureParameters parameters) This method is used to create aGetDataToSignASiCWithXAdESHelperfrom anASiCContent- Parameters:
asicContent-ASiCContentparameters-ASiCWithXAdESSignatureParameters- Returns:
GetDataToSignASiCWithXAdESHelper
-
getDataPackageName
-
getASiCSSignedDocument
-
createPackageZip
-