SetEncryptedDataKey sets the encrypted data key for this master key.
(enc []byte)
| 187 | |
| 188 | // SetEncryptedDataKey sets the encrypted data key for this master key. |
| 189 | func (key *MasterKey) SetEncryptedDataKey(enc []byte) { |
| 190 | key.EncryptedKey = string(enc) |
| 191 | } |
| 192 | |
| 193 | // Decrypt decrypts the EncryptedKey with HuaweiCloud KMS and returns the result. |
| 194 | // |
no outgoing calls