Skip to content

You're viewing documentation for a pre-release version. View the latest stable version

Structure

EdDSA.PrivateKey

A struct representing a private key used in EdDSA (Edwards-curve Digital Signature Algorithm).
struct PrivateKey

Overview

In JWT, EdDSA private keys are represented as a pair of x-coordinate and private key (d) and are used for signing. Currently, only the Curve/ed25519 curve is supported.

Topics

Operators

Initializers

Instance Properties

Relationships

Conforms To

  • EdDSAKey
  • Swift.Equatable
  • Swift.Sendable
  • Swift.SendableMetatype