DartEcdh class
Ecdh (P256, P384, P521) implementation in pure Dart. Currently it throws UnimplementedError if you try to use it.
For examples and more information about the algorithm, see documentation for the class Ecdh.
- Inheritance
-
- Object
- KeyExchangeAlgorithm
- Ecdh
- DartEcdh
Constructors
- DartEcdh.p256({Random? random})
- DartEcdh.p384({Random? random})
- DartEcdh.p521({Random? random})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
keyPairType
→ KeyPairType<
KeyPairData, PublicKey> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
newKeyExchangeWand(
) → Future< KeyExchangeWand> -
Returns a new
KeyExchangeWand
that has a random KeyPair.inherited -
newKeyExchangeWandFromKeyPair(
KeyPair keyPair) → Future< KeyExchangeWand> -
Returns a new
KeyExchangeWand
that uses the given KeyPair.inherited -
newKeyPair(
) → Future< EcKeyPair> -
Generates a new
KeyPair
that can be used with this algorithm.override -
newKeyPairFromSeed(
List< int> seed) → Future<EcKeyPair> -
Generates a key pair from the seed.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
Calculates a shared
SecretKey
.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited