Generate base64 url-encoded X.509 format 2048-bit RSA public key with Swift?
问题 Working in Apple Swift for iOS. I have to generate this for the backend as it's a secure app. I'm new to security and certificates and have been searching for a day now with no results. How can I generate base64 url-encoded X.509 format 2048-bit RSA public key with swift? Any help is highly appreciated. 回答1: There's a library for handling public-private key pairs in Swift that I recently created called Heimdall, which allows you to easily export the X.509 formatted Base64 string of the public