Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AwsKmsEncryption ¶
type AwsKmsEncryption struct {
// contains filtered or unexported fields
}
func (*AwsKmsEncryption) Decrypt ¶
func (a *AwsKmsEncryption) Decrypt(ciphertext []byte, key []byte) ([]byte, error)
type EncryptionBackend ¶
type NullEncryption ¶
type NullEncryption struct{}
NullEncryption is a dummy encryption backend that does not encrypt or decrypt anything.
func (NullEncryption) Decrypt ¶
func (n NullEncryption) Decrypt(ciphertext []byte, key []byte) ([]byte, error)
Decrypt does not decrypt anything.
type RsaKeyPair ¶
type RsaKeyPair struct {
// contains filtered or unexported fields
}
RsaKeyPair is a struct that holds the private and public keys
Click to show internal directories.
Click to hide internal directories.