Class ToBeSigned

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

public class ToBeSigned extends Object implements Serializable
Represents the ToBeSigned data
See Also:
  • Constructor Details

    • ToBeSigned

      public ToBeSigned()
      Empty constructor
    • ToBeSigned

      public ToBeSigned(byte[] bytes)
      The default constructor
      Parameters:
      bytes - byte array to be signed
  • Method Details

    • getBytes

      public byte[] getBytes()
      Gets bytes to be signed
      Returns:
      byte array
    • setBytes

      public void setBytes(byte[] bytes)
      Sets bytes to be signed
      Parameters:
      bytes - byte array
    • hashCode

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

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