init(unsafeDERRepresentation:)

Construct an RSA public key from a DER representation.

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

This constructor supports key sizes of 1024 bits or more. Users should validate that key sizes are appropriate for their use-case.