Decrypt decrypts the EncryptedKey field with GCP KMS and returns the result. Consider using DecryptContext instead.
()
| 220 | // |
| 221 | // Consider using DecryptContext instead. |
| 222 | func (key *MasterKey) Decrypt() ([]byte, error) { |
| 223 | return key.DecryptContext(context.Background()) |
| 224 | } |
| 225 | |
| 226 | // DecryptContext decrypts the EncryptedKey field with GCP KMS and returns |
| 227 | // the result. |