Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetBackendConfigs ¶
Types ¶
type EncryptorClient ¶
type EncryptorClient interface { GetEncryptedText(keyName string, clearText string) (string, error) GetClearText(keyName string, cipherText string) (string, error) Sign(keyName string, text string) (string, error) VerifySignature(keyName string, signature string, message string) (bool, error) Delete(keyName, cipherText string) error }
EncryptorClient defines the interface for backend encryption clients
func New ¶
func New(name string) (EncryptorClient, error)
New returns an encrytion client of a specific type
Click to show internal directories.
Click to hide internal directories.