init(compactRepresentation:)

Creates a P-521 public key for signing from a compact representation of the key.

ECDH.swift:938
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.