KeyPair class

A pair of keys that belong together. Consists of a secretKey as well as the corresponding publicKey.

Annotations
  • @freezed

Constructors

KeyPair({required SecureKey secretKey, required Uint8List publicKey})
Default constructor.
const
factory

Properties

copyWith → $KeyPairCopyWith<KeyPair>
no setterinherited
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

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