Class DigestDTO
- java.lang.Object
-
- eu.europa.esig.dss.ws.server.signing.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()StringgetHexValue()byte[]getValue()inthashCode()voidsetAlgorithm(DigestAlgorithm algorithm)voidsetValue(byte[] value)StringtoString()
-
-
-
Constructor Detail
-
DigestDTO
public DigestDTO()
-
DigestDTO
public DigestDTO(DigestAlgorithm algorithm, byte[] value)
-
-
Method Detail
-
getHexValue
public String getHexValue()
-
getAlgorithm
public DigestAlgorithm getAlgorithm()
- Returns:
- the algorithm
-
setAlgorithm
public void setAlgorithm(DigestAlgorithm algorithm)
- 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
-
-