ValidatedMLDSASigningApi class
Validates arguments before delegating to the inner backend.
- Implemented types
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- inner → MLDSASigningApi
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
keygen(
{required int level, List< int> ? seed}) → (BuBytes, BuBytes) -
Generate a key pair.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
publicKeyFromSecret(
{int? level, required List< int> sk}) → BuBytes -
Derive public key from secret key.
override
-
sign(
{int? level, required List< int> sk, required List<int> message, List<int> ? rnd, List<int> ? context}) → BuBytes -
Sign
message.override -
toString(
) → String -
A string representation of this object.
inherited
-
verify(
{int? level, required List< int> pk, required List<int> message, required List<int> signature, List<int> ? context}) → bool -
Verify
signature.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited