SetEncryptedDataKey sets the encrypted data key for this master key.
(enc []byte)
| 198 | |
| 199 | // SetEncryptedDataKey sets the encrypted data key for this master key. |
| 200 | func (key *MasterKey) SetEncryptedDataKey(enc []byte) { |
| 201 | key.EncryptedKey = string(enc) |
| 202 | } |
| 203 | |
| 204 | // EncryptedDataKey returns the encrypted data key this master key holds. |
| 205 | func (key *MasterKey) EncryptedDataKey() []byte { |
no outgoing calls