◆ ~SASLContext()
◆ create()
Construct and initialize a new SASL context.
- Returns
- pointer to a new SASL context
◆ createMechanism()
◆ createSession()
Create and initialize a new SASL session.
- Parameters
-
| serviceName | name of the service which will use the session |
| auth | authenticator object to use during the session |
| mech | SASL mechanism |
- Returns
- a new SASL session
References SASLSession::create().
◆ decodeB64()
Helper function for decoding Base64-encoded challenge.
- Parameters
-
| input | input buffer |
| output | output buffer |
| outputLen | length of output buffer |
References encoderFactory::getInstance().
◆ encodeB64()
Helper function for encoding challenge in Base64.
- Parameters
-
| input | input buffer |
| inputLen | length of input buffer |
- Returns
- Base64-encoded challenge
References encoderFactory::getInstance().
◆ suggestMechanism()
Suggests an SASL mechanism among a set of mechanisms supported by the server.
- Parameters
-
- Returns
- suggested mechanism (usually the safest mechanism supported by both the client and the server)
The documentation for this class was generated from the following files: