Curve class
Simple elliptic curve representation of keys in pascalcoin.
Constructors
- Curve(int curveId)
- Curve.fromString(String curveName)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ int?
-
getter/setter pair
- name ↔ String?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- supported → dynamic
-
Gets a value indicating whether the key is supported for signing /
generation etc.
no setter
Methods
-
lPrivateKey(
) → int? - Gets the length of either x and y for validation.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
-
xylPublicKey(
{bool getYLength = false}) → int - Gets the length of either x and y for validation.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
getDefaultCurve(
) → Curve - Gets the default curve.
Constants
- CI_SECP256K1 → const int
- CI_SECP384R1 → const int
- CI_SECP521R1 → const int
- CI_SECT283K1 → const int
- CN_SECP256K1 → const String
- CN_SECP384R1 → const String
- CN_SECP521R1 → const String
- CN_SECT283K1 → const String