BaseSubstrateSigner<SIGNATURE extends ISignature, VK extends IVerifiyingKey<IVerifiyingParams> , SK extends ISigningKey<ISignature, ISigningParams, IVerifiyingKey<IVerifiyingParams> > > class
abstract
Contract every Substrate key-algorithm signer implements.
- Inheritance
-
- Object
- ISignatureSigner<
VK, SK> - BaseSubstrateSigner
- Implementers
Constructors
- BaseSubstrateSigner(SK signingKey)
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- signingKey → SK
-
finalinherited
Methods
-
dispose(
) → void -
Releases the native allocation and wipes owned key material.
Idempotent: safe to call twice.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sign(
List< int> digest) → SignedContent<SIGNATURE> -
toString(
) → String -
A string representation of this object.
inherited
-
toVerifier(
) → BaseSubstrateVerifier< VK> -
override
-
vrfSign(
List< int> message, {List<int> ? context, List<int> ? extra}) → SignedContent<SIGNATURE>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromBytes(
List< int> keyBytes, CryptoKeyType algorithm) → BaseSubstrateSigner<ISignature, IVerifiyingKey< IVerifiyingParams> , ISigningKey<ISignature, ISigningParams, IVerifiyingKey< >IVerifiyingParams> > -
Picks the signer implementation matching
algorithm. -
fromSubstrate(
Substrate substrate) → BaseSubstrateSigner< ISignature, IVerifiyingKey< IVerifiyingParams> , ISigningKey<ISignature, ISigningParams, IVerifiyingKey< >IVerifiyingParams> > -
Picks the signer implementation matching
substrate's coin config.