Skip to content

Enumeration

MLDSA

Namespace for the MLDSA (Module-Lattice-Based Digital Signature Algorithm) signing algorithm.
enum MLDSA

Overview

MLDSA is a post-quantum signature scheme based on the CRYSTALS-DILITHIUM algorithm and standardized by NIST in FIPS 204. Its use in JOSE, and therefore in JWTs, is defined by RFC 9964.

Unlike the other algorithms supported by JWTKit, MLDSA keys are parameterised by the strength of the parameter set they use, which is expressed by the MLDSAType generic parameter. JWTKit supports the MLDSA65 and MLDSA87 parameter sets, which correspond to the ML-DSA-65 and ML-DSA-87 JWS algorithms respectively.

Topics

Structures

  • struct PrivateKey
    A struct representing a private key used in MLDSA (Module-Lattice-Based Digital Signature Algorithm).
  • struct PublicKey
    A struct representing a public key used in MLDSA (Module-Lattice-Based Digital Signature Algorithm).

Relationships

Conforms To

  • Swift.Sendable
  • Swift.SendableMetatype