VerificationKey<SCALAR extends CryptoField<SCALAR> , P extends CryptoGroupElement<P, SCALAR> , V extends VerificationKey<SCALAR, P, V> > class
abstract
Abstract base for a RedDSA verification key.
- Mixed-in types
- Implementers
Constructors
- VerificationKey()
-
const
Properties
Methods
-
generator(
) → P - Returns the group generator.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
randomize(
SCALAR randomizer) → V - Returns a randomized version of this verification key.
-
toBytes(
) → List< int> - Serializes the verification key to bytes.
-
toPoint(
) → P - Converts to the corresponding group element.
-
toString(
) → String -
A string representation of this object.
inherited
-
verifySignature(
ReddsaSignature signature, List< int> message, {bool hashMessage = true}) → bool - Verifies a RedDSA signature for a message.
-
verifySignatureBytes(
List< int> signatureBytes, List<int> message, {bool hashMessage = true}) → bool - Verifies a signature given as bytes.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited