init(unsafePEMRepresentation:parameters:)
Construct an RSA private key from a PEM representation.
- iOS
- 13+
- macOS
- 10.15+
- tvOS
- 13+
- watchOS
- 6+
init(unsafePEMRepresentation pemRepresentation: String, parameters: Parameters = .RSABSSA_SHA384_PSS_Randomized) throws
This constructor supports key sizes of 1024 bits or more. Users should validate that key sizes are appropriate for their use-case.