Skip to content

Initializer

init(backing:)

Creates an RSA.PublicKey from a SwiftCrypto public key.
init(backing: _RSA.Signing.PublicKey) throws

Parameters

backing

The SwiftCrypto public key.

Discussion

Throws

RSAError/keySizeTooSmall if the key size is less than 2048 bits.