ProtonSaslMechanism

Undocumented in source.

Members

Functions

getChallengeResponse
byte[] getChallengeResponse(byte[] challenge)

Create a response based on a given challenge from the remote peer.

getInitialResponse
byte[] getInitialResponse()

Create an initial response based on selected mechanism.

getName
string getName()

@return the well known name of this SASL mechanism.

getPassword
string getPassword()

Returns the configured password value for this Mechanism.

getPriority
int getPriority()

@return return the relative priority of this SASL mechanism.

getUsername
string getUsername()

Returns the configured user name value for this Mechanism.

isApplicable
bool isApplicable(string username, string password)

Checks whether a given mechanism is suitable for use in light of the available credentials.

setPassword
ProtonSaslMechanism setPassword(string username)

Sets the password value for this Mechanism. The Mechanism can ignore this value if it does not utilize a password in it's authentication processing.

setUsername
ProtonSaslMechanism setUsername(string username)

Sets the user name value for this Mechanism. The Mechanism can ignore this value if it does not utilize user name in it's authentication processing.

Meta