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