ECPublicKey class
PublicKey using EC Algorithm
- Implemented types
Constructors
- ECPublicKey(BigInt x, BigInt y)
- Create an ECPublicKey for the given coordinates.
- ECPublicKey.fromString(String publicKeyString)
- Create an ECPublicKey from the given String.
Properties
- asPointyCastle → ECPublicKey
-
Export a ECPublicKey as Pointy Castle ECPublicKey
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- Q → ECPoint
-
Get ECPoint Q, which is the Public Point
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
Export a ECPublicKey as String which can be reversed using ECPublicKey.fromString.
override
-
verifySHA256Signature(
Uint8List message, Uint8List signature) → bool -
Verify the signature of a SHA256-hashed message signed with the associated ECPrivateKey
override
-
verifySHA512Signature(
Uint8List message, Uint8List signature) → bool -
Verify the signature of a SHA512-hashed message signed with the associated ECPrivateKey
override
-
verifySignature(
String message, String signature) → bool -
Verify the signature of a SHA256-hashed message signed with the associated ECPrivateKey
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- curve → ECDomainParameters
-
final