SubstrateSigner class
Substrate signer: dispatches to the ED25519/ECDSA/SR25519 signer for the key's algorithm.
- Inheritance
-
- Object
- ISignatureSigner<
IVerifiyingKey< IVerifiyingParams> , ISigningKey<ISignature, ISigningParams, IVerifiyingKey< >IVerifiyingParams> > - SubstrateSigner
Constructors
-
SubstrateSigner(BaseSubstrateSigner<
ISignature, IVerifiyingKey< signer)IVerifiyingParams> , ISigningKey<ISignature, ISigningParams, IVerifiyingKey< >IVerifiyingParams> > -
SubstrateSigner.fromBytes(List<
int> keyBytes, CryptoKeyType algorithm) -
factory
- SubstrateSigner.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
-
signer
→ BaseSubstrateSigner<
ISignature, IVerifiyingKey< IVerifiyingParams> , ISigningKey<ISignature, ISigningParams, IVerifiyingKey< >IVerifiyingParams> > -
final
-
signingKey
→ ISigningKey<
ISignature, ISigningParams, IVerifiyingKey< IVerifiyingParams> > -
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<ISignature> -
toString(
) → String -
A string representation of this object.
inherited
-
toVerifier(
) → SubstrateVerifier -
override
-
vrfSign(
List< int> message, {List<int> ? context, List<int> ? extra}) → SignedContent<ISignature>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited