Package eu.europa.esig.dss.asic.common
Class ASiCParameters
- java.lang.Object
-
- eu.europa.esig.dss.asic.common.ASiCParameters
-
- All Implemented Interfaces:
Serializable
public class ASiCParameters extends Object implements Serializable
This class regroups the signature parameters related to ASiC form.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ASiCParameters()Default constructor
-
Method Summary
Modifier and Type Method Description ASiCContainerTypegetContainerType()The method returns the expected type of the ASiC containerStringgetMimeType()StringgetSignatureFileName()This method returns the name of the signature file to use with ASiC-E container.booleanisZipComment()Indicates if the ZIP comment must include the mime-type.voidsetContainerType(ASiCContainerType containerType)voidsetMimeType(String mimeType)This method allows to set the mime-type within the mimetype file.voidsetSignatureFileName(String signatureFileName)This method allows to set the signature file name to use with ASiC-E container.voidsetZipComment(boolean zipComment)This method allows to indicate if the zip comment will contain the mime type.
-
-
-
Method Detail
-
isZipComment
public boolean isZipComment()
Indicates if the ZIP comment must include the mime-type.- Returns:
boolean
-
setZipComment
public void setZipComment(boolean zipComment)
This method allows to indicate if the zip comment will contain the mime type.- Parameters:
zipComment- true if a zip comment needs to be added
-
getMimeType
public String getMimeType()
-
setMimeType
public void setMimeType(String mimeType)
This method allows to set the mime-type within the mimetype file.- Parameters:
mimeType- the mimetype to store
-
getContainerType
public ASiCContainerType getContainerType()
The method returns the expected type of the ASiC container- Returns:
- the
ASiCContainerTypeof the ASiC container
-
setContainerType
public void setContainerType(ASiCContainerType containerType)
-
getSignatureFileName
public String getSignatureFileName()
This method returns the name of the signature file to use with ASiC-E container.- Returns:
- signature file name
-
setSignatureFileName
public void setSignatureFileName(String signatureFileName)
This method allows to set the signature file name to use with ASiC-E container.- Parameters:
signatureFileName- signature file name
-
-