PqForgeHybridSigner class

Constructors

PqForgeHybridSigner({PqForgeProfile profile = PqForgeProfile.balanced, PqClassicalSignatureAlgorithm classicalAlgorithm = PqClassicalSignatureAlgorithm.ed25519})
const

Properties

classicalAlgorithm PqClassicalSignatureAlgorithm
final
hashCode int
The hash code for this object.
no setterinherited
profile PqForgeProfile
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

classicalKeyPairFromSecret(Uint8List secretKey, {Uint8List? publicKey}) Future<PqClassicalSignatureKeyPair>
Reconstructs a usable PqClassicalSignatureKeyPair from a stored 32-byte secretKey for classicalAlgorithm, deriving the public key when it is not supplied.
generateClassicalKeyPair({Uint8List? seed}) Future<PqClassicalSignatureKeyPair>
Generates a classical key pair for classicalAlgorithm.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sign({required Uint8List pqcSecretKey, required PqClassicalSignatureKeyPair classicalKeyPair, required Uint8List message, Uint8List? context, PqSignatureAlgorithm? pqcAlgorithm, PqDualSignaturePolicy policy = PqDualSignaturePolicy.requireBoth}) Future<PqHybridSignature>
Signs message with ML-DSA and the classical algorithm, binding context.
toString() String
A string representation of this object.
inherited
verify({required Uint8List pqcPublicKey, required Uint8List classicalPublicKey, required Uint8List message, required PqHybridSignature signature, Uint8List? context}) Future<bool>
Verifies a signature over message under both public keys.

Operators

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