Contents

init(rawRepresentation:)

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

Declaration

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

Parameters

  • rawRepresentation:

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

See Also

Creating a private key