init(pemRepresentation:)

Creates a P-256 private key for signing from a Privacy-Enhanced Mail PEM) representation.

ECDH.swift:185
iOS
13+
macOS
10.15+
tvOS
13+
watchOS
6+
init(pemRepresentation: String) throws

Parameters

pemRepresentation

A PEM representation of the key.