SRPClient class abstract

Implementers

Constructors

SRPClient()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

calculateClientEvidenceMessage() BigInt?
Computes the client evidence message M1 using the previously received values. To be called after calculating the secret S. returns M1: the client side generated evidence message throws Exception
calculateSecret(BigInt serverB) BigInt?
Generates the secret S given the server's credentials @param serverB The server's credentials @return Client's verification message for the server @throws Exception If server's credentials are invalid
calculateSessionKey() BigInt?
Computes the final session key as a result of the SRP successful mutual authentication To be called after verifying the server evidence message M2. returns Key: the mutually authenticated symmetric session key throws Exception
generateClientCredentials(Uint8List salt, Uint8List identity, Uint8List password) BigInt?
Generates the client's credentials that are to be sent to the server. @return The client's public value
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
verifyServerEvidenceMessage(BigInt serverM2) bool
Authenticates the server evidence message M2 received and saves it only if correct. serverM2 the server side generated evidence message return A boolean indicating if the server message M2 was the expected one. throws Exception

Operators

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