PqForgeProfile class
A named composition profile for common post-quantum choices.
Constructors
- PqForgeProfile({required String name, required PqKemAlgorithm kem, required PqSignatureAlgorithm signature, PqSlhDsaAlgorithm slhDsa = PqSlhDsaAlgorithm.shake128f, int sessionKeyBytes = pqForgeDefaultSessionKeyBytes, String infoPrefix = pqForgeInfoPrefix})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- infoPrefix → String
-
final
- kem → PqKemAlgorithm
-
final
- name → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sessionKeyBytes → int
-
final
- signature → PqSignatureAlgorithm
-
final
- slhDsa → PqSlhDsaAlgorithm
-
Profile-matched SLH-DSA set used by
keygenwhen--slh-dsais omitted. Compact → SHAKE-128f, balanced → SHAKE-192f, maximum → SHAKE-256f.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
-
byName(
String name) → PqForgeProfile -
resolve(
String name, PqKemAlgorithm kem, PqSignatureAlgorithm? signature) → PqForgeProfile -
Resolves
nameto a built-in profile, or reconstructs a custom profile (e.g. a decoupled--kem/--sigcomposition) from the algorithms a serialized envelope carries alongside the name.
Constants
- balanced → const PqForgeProfile
- compact → const PqForgeProfile
- maximum → const PqForgeProfile