Package com.onlinepayments.webhooks
Interface SecretKeyStore
- All Known Implementing Classes:
InMemorySecretKeyStore
public interface SecretKeyStore
A store of secret keys. Implementations could store secret keys in a database, on disk, etc.
Thread-safe.
-
Method Summary
-
Method Details
-
getSecretKey
- Returns:
- The secret key for the given key id. Never
null. - Throws:
SecretKeyNotAvailableException- If the secret key for the given key id is not available.
-