Nist256p1PrivateKey class
A class representing a NIST P-256 private key that implements the IPrivateKey interface.
- Implemented types
Constructors
-
Nist256p1PrivateKey.fromBytes(List<
int> keyBytes) -
Factory method for creating a Nist256p1PrivateKey from a byte array.
factory
Properties
- curve → EllipticCurveTypes
-
curve type.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setteroverride
- length → int
-
private key bytes length
no setteroverride
- privateKey → ECDSAPrivateKey
-
final
- publicKey → IPublicKey
-
accsess to public key
no setteroverride
-
raw
→ List<
int> -
private key raw bytes
no setteroverride
- 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
-
toHex(
{bool lowerCase = true, String? prefix = ""}) → String -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
isValidBytes(
List< int> keyBytes) → bool -
check if bytes is valid for this key.
override