Skip to content

You're viewing documentation for a pre-release version. View the latest stable version

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.