init(compactRepresentation:)

Creates a P-384 public key for VOPRF(P-384, SHA-384) from a compact representation of the key.

VOPRF+API.swift:58
iOS
16.0+
macOS
13.0+
Mac Catalyst
16.0+
tvOS
16.0+
visionOS
2.0+
watchOS
9.0+
init<Bytes>(compactRepresentation: Bytes) throws where Bytes : ContiguousBytes

Parameters

compactRepresentation

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