Package eu.europa.esig.dss.ws.dto
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:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description SignatureValueDTO()
Empty constructorSignatureValueDTO(SignatureAlgorithm algorithm, byte[] value)
The default constructor -
Method Summary
Modifier and Type Method Description boolean
equals(Object obj)
SignatureAlgorithm
getAlgorithm()
Gets the usedSignatureAlgorithm
byte[]
getValue()
Gets the SignatureValue binariesint
hashCode()
void
setAlgorithm(SignatureAlgorithm algorithm)
Sets the usedSignatureAlgorithm
void
setValue(byte[] value)
Sets the SignatureValue binariesString
toString()
-
Constructor Details
-
SignatureValueDTO
public SignatureValueDTO()Empty constructor -
SignatureValueDTO
The default constructor- Parameters:
algorithm
-SignatureAlgorithm
used to compute the SingatureValuevalue
- the SignatureValue binaries
-
-
Method Details
-
getAlgorithm
Gets the usedSignatureAlgorithm
- Returns:
SignatureAlgorithm
-
setAlgorithm
Sets the usedSignatureAlgorithm
- 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() -
equals
-
toString
-