SubstrateVerifier class
Substrate signature verifier: dispatches to the ED25519/ECDSA/SR25519 verifier for the key's algorithm.
- Inheritance
-
- Object
- ISignatureVerifier<
IVerifiyingKey< IVerifiyingParams> > - SubstrateVerifier
Constructors
-
SubstrateVerifier(BaseSubstrateVerifier<
IVerifiyingKey< verifier)IVerifiyingParams> > -
SubstrateVerifier.fromBytes(List<
int> keyBytes, CryptoKeyType algorithm) -
factory
- SubstrateVerifier.fromSubstrate(Substrate substrate)
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
verificationKey
→ IVerifiyingKey<
IVerifiyingParams> -
finalinherited
-
verifier
→ BaseSubstrateVerifier<
IVerifiyingKey< IVerifiyingParams> > -
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
-
verify(
List< int> message, List<int> signature) → bool -
vrfVerify(
List< int> message, List<int> vrfSign, {List<int> ? context, List<int> ? extra}) → bool
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited