init(compactRepresentation:)

Creates a P-384 public key for key agreement from a compact representation of the key.

ECDH.swift:720
iOS
13+
macOS
10.15+
tvOS
13+
watchOS
6+
init<Bytes>(compactRepresentation: Bytes) throws where Bytes : ContiguousBytes

Parameters

compactRepresentation

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