(dataKey []byte)
| 3 | // MasterKey provides a way of securing the key used to encrypt the Tree by encrypting and decrypting said key. |
| 4 | type MasterKey interface { |
| 5 | Encrypt(dataKey []byte) error |
| 6 | EncryptIfNeeded(dataKey []byte) error |
| 7 | EncryptedDataKey() []byte |
| 8 | SetEncryptedDataKey([]byte) |
no outgoing calls