ProtonSaslMechanismImpl

Undocumented in source.

Members

Functions

getPassword
string getPassword()
Undocumented in source. Be warned that the author may not have intended to support it.
getUsername
string getUsername()
Undocumented in source. Be warned that the author may not have intended to support it.
opCmp
int opCmp(ProtonSaslMechanism other)
Undocumented in source. Be warned that the author may not have intended to support it.
setPassword
ProtonSaslMechanism setPassword(string value)
Undocumented in source. Be warned that the author may not have intended to support it.
setUsername
ProtonSaslMechanism setUsername(string value)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

EMPTY
byte[] EMPTY;
Undocumented in source.

Inherited Members

From ProtonSaslMechanism

getPriority
int getPriority()

@return return the relative priority of this SASL mechanism.

getName
string getName()

@return the well known name of this SASL mechanism.

getInitialResponse
byte[] getInitialResponse()

Create an initial response based on selected mechanism.

getChallengeResponse
byte[] getChallengeResponse(byte[] challenge)

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

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.

getUsername
string getUsername()

Returns the configured user name value for this Mechanism.

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.

getPassword
string getPassword()

Returns the configured password 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.

Meta