Skip to content

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

Structure

MLDSA.PublicKey

iOS 26.0+ macOS 26.0+ tvOS 26.0+ watchOS 26.0+
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