DartKeyExchangeAlgorithmMixin mixin

A mixin for pure Dart implementations of KeyExchangeAlgorithm.

Implemented types
Mixin applications

Properties

hashCode int
The hash code for this object.
no setterinherited
keyPairType KeyPairType<KeyPairData, PublicKey>
no setterinherited
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<KeyPair>
Generates a new KeyPair that can be used with this algorithm.
inherited
newKeyPairFromSeed(List<int> seed) Future<KeyPair>
Generates a key pair from the seed.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sharedSecretKey({required KeyPair keyPair, required PublicKey remotePublicKey}) Future<SecretKey>
Calculates a shared SecretKey.
override
sharedSecretSync({required KeyPairData keyPairData, required PublicKey remotePublicKey}) SecretKey
Computes shared secret synchronously (unlike sharedSecretKey).
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited