ECPrivateKey class

PrivateKey using EC Algorithm

Implemented types

Constructors

ECPrivateKey(BigInt d)
Create an ECPrivateKey for the given d parameter.
ECPrivateKey.fromString(String privateKeyString)
Create an ECPrivateKey from the given String.

Properties

asPointyCastle → ECPrivateKey
Export a ECPrivateKey as Pointy Castle ECPrivateKey
no setteroverride
d BigInt
Get the d Parameter as BigInt
no setter
hashCode int
The hash code for this object.
no setterinherited
publicKey ECPublicKey
Get the ECPublicKey of the ECPrivateKey
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createSHA256Signature(Uint8List message) Uint8List
Sign an message with SHA-256 which can be verified using the associated ECPublicKey
override
createSHA512Signature(Uint8List message) Uint8List
Sign an message with SHA-512 which can be verified using the associated ECPublicKey
override
createSignature(String message) String
Sign an message with SHA-256 which can be verified using the associated ECPublicKey
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
Export a ECPrivateKey as String which can be reversed using ECPrivateKey.fromString.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

curve → ECDomainParameters
final