Class SignatureValue

java.lang.Object
eu.europa.esig.dss.model.SignatureValue
All Implemented Interfaces:
Serializable

public final class SignatureValue extends Object implements Serializable
The SignatureValue
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    Empty constructor
    SignatureValue(eu.europa.esig.dss.enumerations.SignatureAlgorithm algorithm, byte[] value)
    Default constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    eu.europa.esig.dss.enumerations.SignatureAlgorithm
    Gets the SignatureAlgorithm
    byte[]
    Gets the SignatureValue binaries
    int
     
    void
    setAlgorithm(eu.europa.esig.dss.enumerations.SignatureAlgorithm algorithm)
    Sets the SignatureAlgorithm
    void
    setValue(byte[] value)
    Sets the SignatureValue binaries
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • SignatureValue

      public SignatureValue()
      Empty constructor
    • SignatureValue

      public SignatureValue(eu.europa.esig.dss.enumerations.SignatureAlgorithm algorithm, byte[] value)
      Default constructor
      Parameters:
      algorithm - SignatureAlgorithm
      value - the SignatureValue binaries
  • Method Details

    • getAlgorithm

      public eu.europa.esig.dss.enumerations.SignatureAlgorithm getAlgorithm()
      Gets the SignatureAlgorithm
      Returns:
      SignatureAlgorithm
    • setAlgorithm

      public void setAlgorithm(eu.europa.esig.dss.enumerations.SignatureAlgorithm algorithm)
      Sets the SignatureAlgorithm
      Parameters:
      algorithm - SignatureAlgorithm
    • getValue

      public byte[] getValue()
      Gets the SignatureValue binaries
      Returns:
      SignatureValue binaries
    • setValue

      public void setValue(byte[] value)
      Sets the SignatureValue binaries
      Parameters:
      value - SignatureValue binaries
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object