Open annie8ell opened 1 year ago
There is an extension method available in their internal library: Microsoft.WindowsAzure.ApiManagement.Proxy.Gateway.Context.CryptographyExtensions.Decrypt(Byte[] input, String alg, Byte[] key, Byte[] iv) I know this because I am trying to implement decryption, but this extension method doesn't support specifying the padding.
Encrypt data using expressions.policy.xml and Decrypt AES Data using policy expressions.xml appear not to work.
Byte[] doesn't have an encrypt or decrypt method. It also appears that symmetrical encryption isn't possible in API management.