github.com/Ingenico-ePayments/connect-sdk-go@v0.0.0-20240318153750-1f8cd329b9c9/webhooks/validation/SecretKeyStore.go (about)

     1  package validation
     2  
     3  // SecretKeyStore represents a store of secret keys.
     4  // Implementations could store secret keys in a database, on disk, etc.
     5  // Thread-safe.
     6  type SecretKeyStore interface {
     7  	// GetSecretKey returns the secretKey for the given keyID
     8  	GetSecretKey(string) (string, error)
     9  }