Hi,
I want to create a RSA public key and send to Java backend for encryption. However, Java returns error invalid key.
I have created keys using SecKeyCreateRandomKey and convert publicKey into string using base64encoding.
I have had some research :
Using third party : https://stackoverflow.com/questions/53906275/rsa-public-key-created-in-ios-swift-and-exported-as-base64-not-recognized-in-jav .
Another deep analyze : https://stackoverflow.com/questions/74574369/ios-creating-publickey-in-pkcs-format-instead-of-asn-1-format
However, are any more "native way" (which means using only Apple API) supporting this ?
Selecting any option will automatically load the page