Skip to content

Initializer

init(pem:)

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

Return Value

A new ECDSA.PublicKey instance with the public key from the certificate.

Discussion

Throws

If there is a problem parsing the public key.