Package eu.europa.esig.dss.model
Class SignatureValue
java.lang.Object
eu.europa.esig.dss.model.SignatureValue
- All Implemented Interfaces:
Serializable
The SignatureValue
- See Also:
-
Constructor Summary
ConstructorDescriptionEmpty constructorSignatureValue
(SignatureAlgorithm algorithm, byte[] value) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets theSignatureAlgorithm
byte[]
getValue()
Gets the SignatureValue binariesint
hashCode()
void
setAlgorithm
(SignatureAlgorithm algorithm) Sets theSignatureAlgorithm
void
setValue
(byte[] value) Sets the SignatureValue binariestoString()
-
Constructor Details
-
SignatureValue
public SignatureValue()Empty constructor -
SignatureValue
Default constructor- Parameters:
algorithm
-SignatureAlgorithm
value
- the SignatureValue binaries
-
-
Method Details
-
getAlgorithm
Gets theSignatureAlgorithm
- Returns:
SignatureAlgorithm
-
setAlgorithm
Sets theSignatureAlgorithm
- Parameters:
algorithm
-SignatureAlgorithm
-
getValue
public byte[] getValue()Gets the SignatureValue binaries- Returns:
- SignatureValue binaries
-
setValue
public void setValue(byte[] value) Sets the SignatureValue binaries- Parameters:
value
- SignatureValue binaries
-
hashCode
public int hashCode() -
equals
-
toString
-