Package net.visma.autopay.http.signature
Class SignatureContext
java.lang.Object
net.visma.autopay.http.signature.SignatureContext
Container for actual values used in HTTP requests and responses, like HTTP header values, status code, HTTP method, target URI.
Values stored in Signature Context are extracted during signature creation and verification by using component definitions stored in
SignatureComponents
.
Values for Related Request are stored in an inner SignatureContext object.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic SignatureContext.Builder
builder()
Returns builder used to constructSignatureContext
objectboolean
Compares the specified object with this SignatureContext for equality.int
hashCode()
Returns hash code for this SignatureContext, which is composed of hash codes of all object fieldstoString()
String representation of this object
-
Method Details
-
builder
Returns builder used to constructSignatureContext
object- Returns:
- A SignatureContext builder
-
toString
String representation of this object -
equals
Compares the specified object with this SignatureContext for equality. Returns true if the given object is of the same class as this SignatureContext, and all their fields are equal. -
hashCode
public int hashCode()Returns hash code for this SignatureContext, which is composed of hash codes of all object fields
-