Swift 3 export SecKey to String
问题 I am developing an iOS app using swift 3. I need to export an SecKey (which is the user RSA publickey reference) to a string (e.g base64) in order to share it through a generated QRCode. It also has to work the other way since the other user that scans the QRCode , will be able to rebuild a SecKey reference from the string extracted from the QRCode. I found few tutorials but I don't understand exactly what I need to extract from the SecKey reference, and I don't know how to convert it to a