Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MasterKey ¶
type MasterKey interface { Encrypt(dataKey []byte) error EncryptIfNeeded(dataKey []byte) error EncryptedDataKey() []byte SetEncryptedDataKey([]byte) Decrypt() ([]byte, error) NeedsRotation() bool ToString() string ToMap() map[string]interface{} TypeToIdentifier() string }
MasterKey provides a way of securing the key used to encrypt the Tree by encrypting and decrypting said key.
Click to show internal directories.
Click to hide internal directories.