Decrypt decrypts the EncryptedKey with HuaweiCloud KMS and returns the result. Consider using DecryptContext instead.
()
| 194 | // |
| 195 | // Consider using DecryptContext instead. |
| 196 | func (key *MasterKey) Decrypt() ([]byte, error) { |
| 197 | return key.DecryptContext(context.Background()) |
| 198 | } |
| 199 | |
| 200 | // DecryptContext decrypts the EncryptedKey with HuaweiCloud KMS and returns the result. |
| 201 | func (key *MasterKey) DecryptContext(ctx context.Context) ([]byte, error) { |
nothing calls this directly
no test coverage detected