init(backing:)

Creates an ECDSA.PrivateKey instance from SwiftCrypto PrivateKey.

ECDSA.swift:149
init(backing: some ECDSAPrivateKey) throws

Parameters

backing

The SwiftCrypto PrivateKey.

Throws

If there is a problem parsing the private key.