Package eu.europa.esig.dss.asic.common
Class ASiCParameters
java.lang.Object
eu.europa.esig.dss.asic.common.ASiCParameters
- All Implemented Interfaces:
Serializable
This class regroups the signature parameters related to ASiC form.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe method returns the expected type of the ASiC containerGets the mimetypeinthashCode()booleanIndicates if the ZIP comment must include the mime-type.voidsetContainerType(ASiCContainerType containerType) Sets the expected container typevoidsetMimeType(String mimeType) This method allows to set the mime-type within the mimetype file.voidsetZipComment(boolean zipComment) This method sets if the zip comment will contain the mime type.toString()
-
Constructor Details
-
ASiCParameters
public ASiCParameters()Default constructor instantiating object with null values
-
-
Method Details
-
isZipComment
public boolean isZipComment()Indicates if the ZIP comment must include the mime-type.- Returns:
boolean
-
setZipComment
public void setZipComment(boolean zipComment) This method sets if the zip comment will contain the mime type.- Parameters:
zipComment- true if a zip comment needs to be added
-
getMimeType
Gets the mimetype- Returns:
Stringmimetype
-
setMimeType
This method allows to set the mime-type within the mimetype file.- Parameters:
mimeType- the mimetype to store
-
getContainerType
The method returns the expected type of the ASiC container- Returns:
- the
ASiCContainerTypeof the ASiC container
-
setContainerType
Sets the expected container type- Parameters:
containerType-ASiCContainerType
-
toString
-
equals
-
hashCode
public int hashCode()
-