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 booleanequals(Object obj)SignatureAlgorithmgetAlgorithm()Gets theSignatureAlgorithmbyte[]getValue()Gets the SignatureValue binariesinthashCode()voidsetAlgorithm(SignatureAlgorithm algorithm)Sets theSignatureAlgorithmvoidsetValue(byte[] value)Sets the SignatureValue binariesStringtoString()
-
Constructor Details
-
SignatureValue
public SignatureValue()Empty constructor -
SignatureValue
Default constructor- Parameters:
algorithm-SignatureAlgorithmvalue- 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
-