Skip to content

Initializer

init(pem:)

Creates an ECDSA.PrivateKey instance from a PEM encoded private key data.
init(pem data: some DataProtocol) throws

Return Value

A new ECDSA.PrivateKey instance with the private key.

Discussion

Throws

If there is a problem parsing the private key.