PqSlhDsaAlgorithm enum

FIPS 205 SLH-DSA parameter sets composed by pqforge.

All 12 standardized sets (SHA-2 and SHAKE × 128s/128f/192s/192f/256s/256f). Key generation, custody, and detached sign/verify are first-class. Envelope headers, streaming signatures, and hybrid-sign stay ML-DSA-only: SLH-DSA signatures are 8–50 KiB and the s sets are slow by design.

Inheritance
Available extensions

Values

sha2128s → const PqSlhDsaAlgorithm
const PqSlhDsaAlgorithm(id: 'slh-dsa-sha2-128s', name: 'SLH-DSA-SHA2-128s', securityCategory: 1, publicKeyBytes: 32, secretKeyBytes: 64, signatureBytes: 7856, isFast: false)
sha2128f → const PqSlhDsaAlgorithm
const PqSlhDsaAlgorithm(id: 'slh-dsa-sha2-128f', name: 'SLH-DSA-SHA2-128f', securityCategory: 1, publicKeyBytes: 32, secretKeyBytes: 64, signatureBytes: 17088, isFast: true)
sha2192s → const PqSlhDsaAlgorithm
const PqSlhDsaAlgorithm(id: 'slh-dsa-sha2-192s', name: 'SLH-DSA-SHA2-192s', securityCategory: 3, publicKeyBytes: 48, secretKeyBytes: 96, signatureBytes: 16224, isFast: false)
sha2192f → const PqSlhDsaAlgorithm
const PqSlhDsaAlgorithm(id: 'slh-dsa-sha2-192f', name: 'SLH-DSA-SHA2-192f', securityCategory: 3, publicKeyBytes: 48, secretKeyBytes: 96, signatureBytes: 35664, isFast: true)
sha2256s → const PqSlhDsaAlgorithm
const PqSlhDsaAlgorithm(id: 'slh-dsa-sha2-256s', name: 'SLH-DSA-SHA2-256s', securityCategory: 5, publicKeyBytes: 64, secretKeyBytes: 128, signatureBytes: 29792, isFast: false)
sha2256f → const PqSlhDsaAlgorithm
const PqSlhDsaAlgorithm(id: 'slh-dsa-sha2-256f', name: 'SLH-DSA-SHA2-256f', securityCategory: 5, publicKeyBytes: 64, secretKeyBytes: 128, signatureBytes: 49856, isFast: true)
shake128s → const PqSlhDsaAlgorithm
const PqSlhDsaAlgorithm(id: 'slh-dsa-shake-128s', name: 'SLH-DSA-SHAKE-128s', securityCategory: 1, publicKeyBytes: 32, secretKeyBytes: 64, signatureBytes: 7856, isFast: false)
shake128f → const PqSlhDsaAlgorithm
const PqSlhDsaAlgorithm(id: 'slh-dsa-shake-128f', name: 'SLH-DSA-SHAKE-128f', securityCategory: 1, publicKeyBytes: 32, secretKeyBytes: 64, signatureBytes: 17088, isFast: true)
shake192s → const PqSlhDsaAlgorithm
const PqSlhDsaAlgorithm(id: 'slh-dsa-shake-192s', name: 'SLH-DSA-SHAKE-192s', securityCategory: 3, publicKeyBytes: 48, secretKeyBytes: 96, signatureBytes: 16224, isFast: false)
shake192f → const PqSlhDsaAlgorithm
const PqSlhDsaAlgorithm(id: 'slh-dsa-shake-192f', name: 'SLH-DSA-SHAKE-192f', securityCategory: 3, publicKeyBytes: 48, secretKeyBytes: 96, signatureBytes: 35664, isFast: true)
shake256s → const PqSlhDsaAlgorithm
const PqSlhDsaAlgorithm(id: 'slh-dsa-shake-256s', name: 'SLH-DSA-SHAKE-256s', securityCategory: 5, publicKeyBytes: 64, secretKeyBytes: 128, signatureBytes: 29792, isFast: false)
shake256f → const PqSlhDsaAlgorithm
const PqSlhDsaAlgorithm(id: 'slh-dsa-shake-256f', name: 'SLH-DSA-SHAKE-256f', securityCategory: 5, publicKeyBytes: 64, secretKeyBytes: 128, signatureBytes: 49856, isFast: true)

Properties

fileStem → String
Filename stem used by keygen (vault.slh-dsa-shake-128f.public.json).
no setter
hashCode → int
The hash code for this object.
no setterinherited
id → String
final
index → int
A numeric identifier for the enumerated value.
no setterinherited
isFast → bool
true for the f (fast) sets; s (small signature) sets need an explicit slow-signing opt-in at the primitive layer.
final
name → String
final
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
publicKeyBytes → int
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
secretKeyBytes → int
final
securityCategory → int
final
signatureBytes → int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

byId(String id) → PqSlhDsaAlgorithm
tryById(String id) → PqSlhDsaAlgorithm?

Constants

ids → const List<String>
values → const List<PqSlhDsaAlgorithm>
A constant List of the values in this enum, in order of their declaration.