Package eu.europa.esig.dss.model
Class SignatureValue
java.lang.Object
eu.europa.esig.dss.model.SignatureValue
- All Implemented Interfaces:
Serializable
public final class SignatureValue extends Object implements Serializable
The SignatureValue
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description SignatureValue()
Empty constructorSignatureValue(SignatureAlgorithm algorithm, byte[] value)
Default constructor -
Method Summary
Modifier and Type Method Description boolean
equals(Object obj)
SignatureAlgorithm
getAlgorithm()
Gets theSignatureAlgorithm
byte[]
getValue()
Gets the SignatureValue binariesint
hashCode()
void
setAlgorithm(SignatureAlgorithm algorithm)
Sets theSignatureAlgorithm
void
setValue(byte[] value)
Sets the SignatureValue binariesString
toString()
-
Constructor Details
-
SignatureValue
public SignatureValue()Empty constructor -
SignatureValue
Default constructor- Parameters:
algorithm
-SignatureAlgorithm
value
- the SigntureValue 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
-