init(rawRepresentation:)

Creates a P-384 public key for VOPRF(P-384, SHA-384) from a collection of bytes.

VOPRF+API.swift:49
iOS
16.0+
macOS
13.0+
tvOS
16.0+
watchOS
9.0+
init<D>(rawRepresentation: D) throws where D : ContiguousBytes

Parameters

rawRepresentation

A raw representation of the key as a collection of contiguous bytes.