init(compressedRepresentation:)

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

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

Parameters

compressedRepresentation

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