KEX class

The key exchange method specifies how one-time session keys are generated for encryption and for authentication, and how the server authentication is done.

Constructors

KEX()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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

Static Properties

supported SupportedFunction
read / write

Static Methods

diffieHellman(int id) bool
diffieHellmanGroupExchange(int id) bool
ellipticCurve(int id) ECDomainParameters
ellipticCurveDiffieHellman(int id) bool
ellipticCurveHash(int id) Digest
ellipticCurveSecretBits(int id) int
id(String name) int
name(int id) String
preferenceCsv([int startAfter = 0]) String
preferenceIntersect(String intersectCsv, [bool server = false, int startAfter = 0]) int
x25519DiffieHellman(int id) bool

Constants

DH1_SHA1 → const int
8
DH14_SHA1 → const int
7
DHGEX_SHA1 → const int
6
DHGEX_SHA256 → const int
5
ECDH_SHA2_NISTP256 → const int
2
ECDH_SHA2_NISTP384 → const int
3
ECDH_SHA2_NISTP521 → const int
4
ECDH_SHA2_X25519 → const int
1
End → const int
8