#include <psasl.h>
Inheritance diagram for PSASLClient:
Public Types | |
Continue = 1 | |
OK = 0 | |
Fail = -1 | |
enum | PSASLResult { Continue = 1, OK = 0, Fail = -1 } |
Public Member Functions | |
PSASLClient (const PString &service, const PString &uid, const PString &auth, const PString &pwd) | |
~PSASLClient () | |
const PString & | GetService () const |
const PString & | GetUserID () const |
const PString & | GetAuthID () const |
const PString & | GetPassword () const |
PBoolean | Init (const PString &fqdn, PStringSet &supportedMechanisms) |
PBoolean | Start (const PString &mechanism, PString &output) |
PSASLResult | Negotiate (const PString &input, PString &output) |
PBoolean | End () |
Static Public Member Functions | |
static void | SetRealm (const PString &realm) |
static void | SetPath (const PString &path) |
static const PString & | GetRealm () |
static const PString & | GetPath () |
Protected Member Functions | |
PBoolean | Start (const PString &mechanism, const char **output, unsigned &len) |
PSASLResult | Negotiate (const char *input, const char **output) |
Protected Attributes | |
void * | m_CallBacks |
void * | m_ConnState |
const PString | m_Service |
const PString | m_UserID |
const PString | m_AuthID |
const PString | m_Password |
Static Protected Attributes | |
static PString | s_Realm |
static PString | s_Path |
PSASLClient::PSASLClient | ( | const PString & | service, | |
const PString & | uid, | |||
const PString & | auth, | |||
const PString & | pwd | |||
) |
PSASLClient::~PSASLClient | ( | ) |
PBoolean PSASLClient::End | ( | ) |
const PString& PSASLClient::GetAuthID | ( | ) | const [inline] |
const PString& PSASLClient::GetPassword | ( | ) | const [inline] |
static const PString& PSASLClient::GetPath | ( | ) | [inline, static] |
static const PString& PSASLClient::GetRealm | ( | ) | [inline, static] |
const PString& PSASLClient::GetService | ( | ) | const [inline] |
const PString& PSASLClient::GetUserID | ( | ) | const [inline] |
PBoolean PSASLClient::Init | ( | const PString & | fqdn, | |
PStringSet & | supportedMechanisms | |||
) |
PSASLResult PSASLClient::Negotiate | ( | const PString & | input, | |
PString & | output | |||
) |
PSASLResult PSASLClient::Negotiate | ( | const char * | input, | |
const char ** | output | |||
) | [protected] |
static void PSASLClient::SetPath | ( | const PString & | path | ) | [inline, static] |
static void PSASLClient::SetRealm | ( | const PString & | realm | ) | [inline, static] |
PBoolean PSASLClient::Start | ( | const PString & | mechanism, | |
const char ** | output, | |||
unsigned & | len | |||
) | [protected] |
const PString PSASLClient::m_AuthID [protected] |
void* PSASLClient::m_CallBacks [protected] |
void* PSASLClient::m_ConnState [protected] |
const PString PSASLClient::m_Password [protected] |
const PString PSASLClient::m_Service [protected] |
const PString PSASLClient::m_UserID [protected] |
PString PSASLClient::s_Path [static, protected] |
PString PSASLClient::s_Realm [static, protected] |