I am trying to import RSA and AES-GCM keys in jwk format using Web Crypto API on Internet Explorer 11. Can anyone give me examples of how to do it?
The reason why I am asking is according to this msdn page, the keyData parameter must be an ArrayBufferView. However, if the format parameter is jwk, the function should accept a Dictionary containing the key in jwk format, which is how Chrome and Firefox work. I have no idea about how to convert a Dictionary to an ArrayBufferView.
The examples I found here do not work for IE.