init(rawRepresentation:)

Creates a P-521 private key for signing from a collection of bytes.

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

Parameters

rawRepresentation

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