I am currently using chilkat ( refer : https://www.chilkatsoft.com/downloads_ios.asp ) for json web encryption and wrapping a cek key to the JWE object. This is currently supported by chilkat using a method setWrappingKey. For example I use it as below
let jweProtHdr = CkoJsonObject() jweProtHdr!.load(headerJson) jwe!.setProtectedHeader(jweProtHdr) print("JWE Protected Header: (jweProtHdr!.emit())") jwe!.setWrappingKey(0, encodedKey: cekKey, encoding: "base64")
Question : is Chilkat approved by apple to use used for production purposes ?.
Or is there any other alternatives or similar libraries avaiable which are free to be used.
Does apple have its own APIs to support JWE json web encrytion ?
Powered by WPeMatico