Package eu.europa.esig.dss.ws.dto
Class DigestDTO
java.lang.Object
eu.europa.esig.dss.ws.dto.DigestDTO
- All Implemented Interfaces:
Serializable
public class DigestDTO extends Object implements Serializable
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description DigestDTO()DigestDTO(DigestAlgorithm algorithm, byte[] value) -
Method Summary
Modifier and Type Method Description booleanequals(Object obj)DigestAlgorithmgetAlgorithm()byte[]getValue()inthashCode()protected StringhexValue()voidsetAlgorithm(DigestAlgorithm algorithm)voidsetValue(byte[] value)StringtoString()
-
Constructor Details
-
Method Details
-
getAlgorithm
- Returns:
- the algorithm
-
setAlgorithm
- Parameters:
algorithm- the algorithm to set
-
getValue
public byte[] getValue()- Returns:
- the value
-
setValue
public void setValue(byte[] value)- Parameters:
value- the value to set
-
hexValue
-
hashCode
public int hashCode() -
equals
-
toString
-