init(rawRepresentation:)

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

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

Parameters

rawRepresentation

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