Package eu.europa.esig.dss.ws.dto
Class DigestDTO
java.lang.Object
eu.europa.esig.dss.ws.dto.DigestDTO
- 
Constructor Summary
ConstructorsConstructorDescriptionThe empty constructorDigestDTO(DigestAlgorithm algorithm, byte[] value) The default constructor - 
Method Summary
Modifier and TypeMethodDescriptionbooleanGets theDigestAlgorithmbyte[]getValue()Gets the digest valueinthashCode()protected StringhexValue()Returns a hex-encoded digest valuevoidsetAlgorithm(DigestAlgorithm algorithm) Sets theDigestAlgorithmvoidsetValue(byte[] value) Sets the digest valuetoString() 
- 
Constructor Details
- 
DigestDTO
public DigestDTO()The empty constructor - 
DigestDTO
The default constructor- Parameters:
 algorithm-DigestAlgorithmused for the digest calculationvalue- of the digest
 
 - 
 - 
Method Details
- 
getAlgorithm
 - 
setAlgorithm
Sets theDigestAlgorithm- Parameters:
 algorithm-DigestAlgorithmthe algorithm to set
 - 
getValue
public byte[] getValue()Gets the digest value- Returns:
 - the value
 
 - 
setValue
public void setValue(byte[] value) Sets the digest value- Parameters:
 value- the value to set
 - 
hexValue
 - 
hashCode
 - 
equals
 - 
toString
 
 -