PskCredentialsCallback typedef
PskCredentialsCallback =
PskCredentials Function(String? identityHint)
Function signature for a callback function for retrieving/generating PskCredentials.
Servers might provide an identityHint that contains information on how
to generate the credentials.
Implementation
typedef PskCredentialsCallback = PskCredentials Function(
String? identityHint,
);