Initializer
init(backing:)
Creates an
RSA.PrivateKey from a SwiftCrypto private key.init(backing: _RSA.Signing.PrivateKey) throws
Parameters
backingThe SwiftCrypto private key.
Discussion
Throws
RSAError/keySizeTooSmall if the key size is less than 2048 bits.