public class SignatureValidator extends Object
Constructor and Description |
---|
SignatureValidator(SecretKeyStore secretKeyStore) |
Modifier and Type | Method and Description |
---|---|
void |
validate(byte[] body,
List<RequestHeader> requestHeaders)
Validates the given body using the given request headers.
|
void |
validate(String body,
List<RequestHeader> requestHeaders)
Validates the given body using the given request headers.
|
public SignatureValidator(SecretKeyStore secretKeyStore)
public void validate(byte[] body, List<RequestHeader> requestHeaders)
SignatureValidationException
- If the body could not be validated successfully.public void validate(String body, List<RequestHeader> requestHeaders)
SignatureValidationException
- If the body could not be validated successfully.Copyright © 2024 Worldline Global Collect. All rights reserved.