init(pemRepresentation:)

Creates a P-384 private key for VOPRF(P-384, SHA-384) from a Privacy-Enhanced Mail PEM) representation.

VOPRF+API.swift:162
iOS
16.0+
macOS
13.0+
tvOS
16.0+
watchOS
9.0+
init(pemRepresentation: String) throws

Parameters

pemRepresentation

A PEM representation of the key.