Package eu.europa.esig.dss.ws.dto
Class SignatureValueDTO
java.lang.Object
eu.europa.esig.dss.ws.dto.SignatureValueDTO
- All Implemented Interfaces:
Serializable
Represents a SignatureValue DTO
- See Also:
-
Constructor Summary
ConstructorDescriptionEmpty constructorSignatureValueDTO
(SignatureAlgorithm algorithm, byte[] value) The default constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets the usedSignatureAlgorithm
byte[]
getValue()
Gets the SignatureValue binariesint
hashCode()
void
setAlgorithm
(SignatureAlgorithm algorithm) Sets the usedSignatureAlgorithm
void
setValue
(byte[] value) Sets the SignatureValue binariestoString()
-
Constructor Details
-
SignatureValueDTO
public SignatureValueDTO()Empty constructor -
SignatureValueDTO
The default constructor- Parameters:
algorithm
-SignatureAlgorithm
used to compute the SignatureValuevalue
- 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
-