Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataEncryptor ¶ added in v0.334.0
type KMSEncryptor ¶ added in v0.328.1
type KMSEncryptor struct {
// contains filtered or unexported fields
}
KMSEncryptor encrypts and decrypts using a KMS key via tink.
func NewKMSEncryptorGenerateKey ¶ added in v0.328.1
func NewKMSEncryptorGenerateKey(uri string, v1client *awsv1kms.KMS) (*KMSEncryptor, error)
func NewKMSEncryptorWithKMS ¶ added in v0.328.1
func (*KMSEncryptor) Decrypt ¶ added in v0.328.1
func (k *KMSEncryptor) Decrypt(subKey SubKey, encrypted []byte) ([]byte, error)
func (*KMSEncryptor) Encrypt ¶ added in v0.328.1
func (k *KMSEncryptor) Encrypt(subKey SubKey, cleartext []byte) ([]byte, error)
func (*KMSEncryptor) GetEncryptedKeyset ¶ added in v0.328.1
func (k *KMSEncryptor) GetEncryptedKeyset() []byte
type NoOpEncryptorNext ¶ added in v0.328.1
type NoOpEncryptorNext struct{}
NoOpEncryptorNext does not encrypt and just passes the input as is.
func NewNoOpEncryptor ¶ added in v0.334.0
func NewNoOpEncryptor() NoOpEncryptorNext
Click to show internal directories.
Click to hide internal directories.