Class SignatureValueDTO

java.lang.Object
eu.europa.esig.dss.ws.dto.SignatureValueDTO
All Implemented Interfaces:
Serializable

public class SignatureValueDTO extends Object implements Serializable
Represents a SignatureValue DTO
See Also:
  • Constructor Details

    • SignatureValueDTO

      public SignatureValueDTO()
      Empty constructor
    • SignatureValueDTO

      public SignatureValueDTO(eu.europa.esig.dss.enumerations.SignatureAlgorithm algorithm, byte[] value)
      The default constructor
      Parameters:
      algorithm - SignatureAlgorithm used to compute the SignatureValue
      value - the SignatureValue binaries
  • Method Details

    • getAlgorithm

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

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

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

      public void setValue(byte[] value)
      Sets the SignatureValue binaries
      Parameters:
      value - the 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