SubstratePrvKey class
- Mixed-in types
Constructors
-
SubstratePrvKey.fromBytes(List<
int> keyBytes, SubstrateCoinConf coinConf) -
Creates a private key of the coin's type from the provided
keyBytesfactory -
SubstratePrvKey.fromPrivateKey(IPrivateKey<
ISignature, ISigningParams, IPublicKey< privateKey, SubstrateCoinConf coinConf)IVerifiyingParams> > -
factory
Properties
- coinConf → SubstrateCoinConf
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
privKey
→ IPrivateKey<
ISignature, ISigningParams, IPublicKey< IVerifiyingParams> > -
final
- publicKey → SubstratePubKey
-
Derives the corresponding Substrate public key from this private key.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
) → void -
Releases the native allocation and wipes owned key material.
Idempotent: safe to call twice.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toBytes(
{SecretTransform? transform}) → SecretBytes - Gets the raw representation of the private key as SecretBytes.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited