Interface AdyenHMACValidator
- All Known Implementing Classes:
DefaultAdyenHMACValidator
public interface AdyenHMACValidator
-
Method Summary
Modifier and TypeMethodDescriptionboolean
validateHMAC
(NotificationRequestItem notificationRequestItem) Validates signature of notificationRequestItem, it takes the signature from notificationRequestItem hmac key to validate is taken fromAdyenConfigurationProperties.getHmacKey(String, String)
-
Method Details
-
validateHMAC
Validates signature of notificationRequestItem, it takes the signature from notificationRequestItem hmac key to validate is taken fromAdyenConfigurationProperties.getHmacKey(String, String)
- Parameters:
notificationRequestItem
- - item that needs a signature validation- Returns:
- a boolean indicating if signature valid or not
- Throws:
SignatureException
- - throws exception in case bad key
-