SetEncryptedDataKey sets the encrypted data key for this master key.
(enc []byte)
| 377 | |
| 378 | // SetEncryptedDataKey sets the encrypted data key for this master key. |
| 379 | func (key *MasterKey) SetEncryptedDataKey(enc []byte) { |
| 380 | key.EncryptedKey = string(enc) |
| 381 | } |
| 382 | |
| 383 | // Decrypt first attempts to obtain the data key from the EncryptedKey |
| 384 | // stored in the MasterKey using OpenPGP, before falling back to GnuPG. |
no outgoing calls
no test coverage detected