RedPallasPrivateKey class
- Implemented types
- Mixed-in types
Constructors
-
RedPallasPrivateKey({required List<
int> sk, required RedPallasPublicKey publicKey}) -
RedPallasPrivateKey.fromBytes(List<
int> bytes, PallasPoint generator) -
factory
Properties
- curve → EllipticCurveTypes
-
Get the elliptic curve type associated with the private key.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- length → int
-
Get the length of the private key in bytes.
no setteroverride
-
publicFields
→ List<
Object?> -
Public, non-secret fields that can be compared normally.
no setteroverride
- publicKey → RedPallasPublicKey
-
Get the associated public key.
final
-
raw
→ List<
int> -
Get the raw private key as a byte array.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
secretFields
→ List<
List< int> > -
Secret fields that MUST be compared in constant time.
no setteroverride
-
sk
→ List<
int> -
final
- variables → List
-
no setteroverride
Methods
-
constantEquality(
RedPallasPrivateKey other) → bool -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toHex(
{bool lowerCase = true, String? prefix = ""}) → String -
override
-
toScalar(
) → VestaFq -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited