KeyPair class sealed
A pair of keys that belong together. Consists of a secretKey
as well as
the corresponding publicKey
.
- Annotations
-
- @Freezed(copyWith: false)
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- publicKey → Uint8List
-
The public key of the key pair.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secretKey → SecureKey
-
The secret key of the key pair.
no setterinherited
Methods
-
copy(
) → KeyPair - Creates a copy of this key.
-
dispose(
) → void -
Disposes the
secretKey
wrapped by this key pair. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited