Hello all,
I am working on a policy that essentially is trying to do the SAS Token Generation done within Azure Service Bus, but within the Gateway.
Ex:
https://docs.microsoft.com/en-us/rest/api/eventhub/generate-sas-tokenThe portion I am hung up on within the Gateway, is UTF-8 encoding string into a byte array. I know we can easily create an array once I have the values in bytes, but I cannot exactly figure out how to do UTF8 encoding on a string without going with custom assertions.
1) The encode/decode assertion seems to only support Base16 or UTF16 encoding, and not Base8/UTF8? Is this correct?
2) Does anyone have any idea on if this is possible without going to a custom assertion? Maybe through XSLT or some "smart" policy construction with other assertions?
Thanks.