Class ASiCParameters

java.lang.Object
eu.europa.esig.dss.asic.common.ASiCParameters
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ASiCContainerEvidenceRecordParameters

public class ASiCParameters extends Object implements Serializable
This class regroups the signature parameters related to ASiC form.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor instantiating object with null values
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    eu.europa.esig.dss.enumerations.ASiCContainerType
    The method returns the expected type of the ASiC container
    Gets the mimetype
    int
     
    boolean
    Indicates if the ZIP comment must include the mime-type.
    void
    setContainerType(eu.europa.esig.dss.enumerations.ASiCContainerType containerType)
    Sets the expected container type
    void
    setMimeType(String mimeType)
    This method allows to set the mime-type within the mimetype file.
    void
    setZipComment(boolean zipComment)
    This method sets if the zip comment will contain the mime type.
     

    Methods inherited from class Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • 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

      public String getMimeType()
      Gets the mimetype
      Returns:
      String mimetype
    • 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 eu.europa.esig.dss.enumerations.ASiCContainerType getContainerType()
      The method returns the expected type of the ASiC container
      Returns:
      the ASiCContainerType of the ASiC container
    • setContainerType

      public void setContainerType(eu.europa.esig.dss.enumerations.ASiCContainerType containerType)
      Sets the expected container type
      Parameters:
      containerType - ASiCContainerType
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object