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 Details

    • SignatureValue

      public SignatureValue()
      Empty constructor
    • SignatureValue

      public SignatureValue(SignatureAlgorithm algorithm, byte[] value)
      Default constructor
      Parameters:
      algorithm - SignatureAlgorithm
      value - the SignatureValue binaries
  • Method Details

    • getAlgorithm

      public SignatureAlgorithm getAlgorithm()
      Gets the SignatureAlgorithm
      Returns:
      SignatureAlgorithm
    • setAlgorithm

      public void setAlgorithm(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