init(derRepresentation:)

Construct an RSA public key from a DER representation.

RSA.swift:96
iOS
13+
macOS
10.15+
tvOS
13+
watchOS
6+
init<Bytes>(derRepresentation: Bytes) throws where Bytes : DataProtocol

This constructor supports key sizes of 2048 bits or more. Users should validate that key sizes are appropriate for their use-case. Parameters from RSA PSS keys will be stripped.