SASLContext Class Reference
An SASL client context.
More...
List of all members.
Detailed Description
An SASL client context.
Constructor & Destructor Documentation
Construct and initialize a new SASL context.
Member Function Documentation
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
| void decodeB64 |
( |
const string & |
input, |
|
|
byte_t ** |
output, |
|
|
int * |
outputLen | |
|
) |
| | |
Helper function for decoding Base64-encoded challenge.
- Parameters:
-
| input | input buffer |
| output | output buffer |
| outputLen | length of output buffer |
References encoderFactory::getInstance().
| const string encodeB64 |
( |
const byte_t * |
input, |
|
|
const int |
inputLen | |
|
) |
| | |
Helper function for encoding challenge in Base64.
- Parameters:
-
| input | input buffer |
| inputLen | length of input buffer |
- Returns:
- Base64-encoded challenge
References encoderFactory::getInstance().
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: