Package net.visma.autopay.http.signature
Class SignatureResult
java.lang.Object
net.visma.autopay.http.signature.SignatureResult
A result of signature calculation
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSignatureResult
(String signatureInput, String signature, String signatureBase) Creates Signature Result object -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compares the specified object with this SignatureResult for equality.Returns Signature to be copied to Signature headerReturns signature base which can be used for logging or debuggingReturns Signature Input to be copied to Signature-Input headerint
hashCode()
Returns hash code for this SignatureResult, which is composed of hash codes of all object fieldstoString()
String representation of this object
-
Constructor Details
-
SignatureResult
Creates Signature Result object- Parameters:
signatureInput
- Signature Input to be copied to Signature-Input headersignature
- Signature to be copied to Signature headersignatureBase
- Used signature base which can be used for logging or debugging
-
-
Method Details
-
getSignatureInput
Returns Signature Input to be copied to Signature-Input header- Returns:
- Signature Input
-
getSignature
Returns Signature to be copied to Signature header- Returns:
- Signature
-
getSignatureBase
Returns signature base which can be used for logging or debugging- Returns:
- Signature Base
- See Also:
-
equals
Compares the specified object with this SignatureResult for equality. Returns true if the given object is of the same class as this SignatureResult, and all object fields are equal. -
hashCode
public int hashCode()Returns hash code for this SignatureResult, which is composed of hash codes of all object fields -
toString
String representation of this object
-