PskCredentials class

Credentials used for PSK Cipher Suites consisting of an identity and a preSharedKey.

Currently, only the mandatory Cipher Suite TLS_PSK_WITH_AES_128_CCM_8 is supported via tinydtls.

Constructors

PskCredentials({required Uint8List identity, required Uint8List preSharedKey})

Properties

hashCode int
The hash code for this object.
no setterinherited
identity Uint8List
getter/setter pair
preSharedKey Uint8List
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
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