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 booleanequals(Object obj)SignatureAlgorithmgetAlgorithm()Gets the usedSignatureAlgorithmbyte[]getValue()Gets the SignatureValue binariesinthashCode()voidsetAlgorithm(SignatureAlgorithm algorithm)Sets the usedSignatureAlgorithmvoidsetValue(byte[] value)Sets the SignatureValue binariesStringtoString()
-
Constructor Details
-
SignatureValueDTO
public SignatureValueDTO()Empty constructor -
SignatureValueDTO
The default constructor- Parameters:
algorithm-SignatureAlgorithmused 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
-