Class ASiCWithCAdESDataToSignHelperBuilder
java.lang.Object
eu.europa.esig.dss.asic.common.signature.AbstractASiCDataToSignHelperBuilder
eu.europa.esig.dss.asic.cades.signature.ASiCWithCAdESDataToSignHelperBuilder
- Direct Known Subclasses:
ASiCWithCAdESSignatureDataToSignHelperBuilder
,ASiCWithCAdESTimestampDataToSignHelperBuilder
public abstract class ASiCWithCAdESDataToSignHelperBuilder
extends AbstractASiCDataToSignHelperBuilder
Builds a relevant
GetDataToSignASiCWithCAdESHelper
for ASiC with CAdES dataToSign creation-
Field Summary
Modifier and TypeFieldDescriptionprotected final ASiCWithCAdESFilenameFactory
Defines rules for filename creation for new manifest files. -
Constructor Summary
ModifierConstructorDescriptionprotected
ASiCWithCAdESDataToSignHelperBuilder
(ASiCWithCAdESFilenameFactory asicFilenameFactory) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionbuild
(ASiCContent asicContent, ASiCWithCAdESCommonParameters parameters) This method is used to create aGetDataToSignASiCWithCAdESHelper
from anASiCContent
protected String
getDataPackageName
(ASiCContent asicContent) This method returns a name for a package zip container, containing the original signer dataprotected abstract ASiCEWithCAdESManifestBuilder
getManifestBuilder
(ASiCContent asicContent, ASiCWithCAdESCommonParameters parameters) This method returns aASiCEWithCAdESManifestBuilder
to be used for a signed/timestamped manifest creationMethods inherited from class eu.europa.esig.dss.asic.common.signature.AbstractASiCDataToSignHelperBuilder
createPackageZip, getASiCSSignedDocument
-
Field Details
-
asicFilenameFactory
Defines rules for filename creation for new manifest files.
-
-
Constructor Details
-
ASiCWithCAdESDataToSignHelperBuilder
Default constructor- Parameters:
asicFilenameFactory
-ASiCWithCAdESFilenameFactory
-
-
Method Details
-
build
public GetDataToSignASiCWithCAdESHelper build(ASiCContent asicContent, ASiCWithCAdESCommonParameters parameters) This method is used to create aGetDataToSignASiCWithCAdESHelper
from anASiCContent
- Parameters:
asicContent
-ASiCContent
parameters
-ASiCWithCAdESCommonParameters
- Returns:
GetDataToSignASiCWithCAdESHelper
-
getManifestBuilder
protected abstract ASiCEWithCAdESManifestBuilder getManifestBuilder(ASiCContent asicContent, ASiCWithCAdESCommonParameters parameters) This method returns aASiCEWithCAdESManifestBuilder
to be used for a signed/timestamped manifest creation- Parameters:
asicContent
-ASiCContent
parameters
-ASiCWithCAdESCommonParameters
- Returns:
ASiCEWithCAdESManifestBuilder
-
getDataPackageName
Description copied from class:AbstractASiCDataToSignHelperBuilder
This method returns a name for a package zip container, containing the original signer data- Specified by:
getDataPackageName
in classAbstractASiCDataToSignHelperBuilder
- Parameters:
asicContent
-ASiCContent
containing the original signer data- Returns:
String
-