KeyPair class abstract
A key pair composed of a private key (KeyPairData) and PublicKey.
The main types are:
- EcKeyPair (Ecdsa, Ecdh)
- SimpleKeyPair (Ed25519, X25519)
- RsaKeyPair (RSA-based algorithms)
- Implementers
Constructors
- KeyPair()
Properties
- hasBeenDestroyed → bool
-
Whether destroy has been called.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
destroy(
) → void - Overwrites sensitive parts of the private key data with zeroes and prevents the private key from being used anymore.
-
extract(
) → Future< KeyPairData> - Reads the private key into memory.
-
extractPublicKey(
) → Future< PublicKey> - Reads the public key.
-
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