Contents

init(rawRepresentation:)

Creates a Curve25519 public key for key agreement from a collection of bytes.

Declaration

init<D>(rawRepresentation: D) throws where D : ContiguousBytes

Discussion

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