Skip to content

Structure

MLDSA.PublicKey

A struct representing a public key used in MLDSA (Module-Lattice-Based Digital Signature Algorithm).
struct PublicKey<KeyType> where KeyType : MLDSAType

Overview

MLDSA public keys are used to verify signatures. The parameter set the key belongs to is expressed by the MLDSA.PublicKey.MLDSAType generic parameter, so a key is written as, for example, MLDSA.PublicKey<MLDSA87>. The MLDSA65PublicKey and MLDSA87PublicKey typealiases are provided as a shorthand.

Topics

Initializers

Type Aliases

Relationships

Conforms To

  • MLDSAKey
  • Swift.Sendable
  • Swift.SendableMetatype