krzyzanowskim / OpenSSL

OpenSSL package for SwiftPM, CocoaPod, and Carthage, multiplatform
https://swift.best
Other
907 stars 334 forks source link

Generate private and public keys pair with PKCS8 #136

Closed takephone closed 2 years ago

takephone commented 2 years ago

Hi,

trying to use the framework for an iOS app.

I need to generate a public/private 2048 key pair, wrapped in PKCS8

Can't find an example code f how I can do this.

Thanks