#include <authmanager.h>
|
typedef void(* | FListCallback) (const char *pIdent, int Level, void *pUser) |
|
|
| CAuthManager () |
|
void | Init () |
|
int | AddKeyHash (const char *pIdent, MD5_DIGEST Hash, const unsigned char *pSalt, int AuthLevel) |
|
int | AddKey (const char *pIdent, const char *pPw, int AuthLevel) |
|
void | RemoveKey (int Slot) |
|
int | FindKey (const char *pIdent) const |
|
bool | CheckKey (int Slot, const char *pPw) const |
|
int | DefaultKey (int AuthLevel) const |
|
int | KeyLevel (int Slot) const |
|
const char * | KeyIdent (int Slot) const |
|
void | UpdateKeyHash (int Slot, MD5_DIGEST Hash, const unsigned char *pSalt, int AuthLevel) |
|
void | UpdateKey (int Slot, const char *pPw, int AuthLevel) |
|
void | ListKeys (FListCallback pfnListCallbac, void *pUser) |
|
void | AddDefaultKey (int Level, const char *pPw) |
|
bool | IsGenerated () const |
|
int | NumNonDefaultKeys () const |
|
◆ FListCallback
typedef void(* CAuthManager::FListCallback) (const char *pIdent, int Level, void *pUser) |
◆ CAuthManager()
CAuthManager::CAuthManager |
( |
| ) |
|
◆ AddDefaultKey()
void CAuthManager::AddDefaultKey |
( |
int |
Level, |
|
|
const char * |
pPw |
|
) |
| |
◆ AddKey()
int CAuthManager::AddKey |
( |
const char * |
pIdent, |
|
|
const char * |
pPw, |
|
|
int |
AuthLevel |
|
) |
| |
◆ AddKeyHash()
int CAuthManager::AddKeyHash |
( |
const char * |
pIdent, |
|
|
MD5_DIGEST |
Hash, |
|
|
const unsigned char * |
pSalt, |
|
|
int |
AuthLevel |
|
) |
| |
◆ CheckKey()
bool CAuthManager::CheckKey |
( |
int |
Slot, |
|
|
const char * |
pPw |
|
) |
| const |
◆ DefaultKey()
int CAuthManager::DefaultKey |
( |
int |
AuthLevel | ) |
const |
◆ FindKey()
int CAuthManager::FindKey |
( |
const char * |
pIdent | ) |
const |
◆ Init()
void CAuthManager::Init |
( |
| ) |
|
◆ IsGenerated()
bool CAuthManager::IsGenerated |
( |
| ) |
const |
◆ KeyIdent()
const char * CAuthManager::KeyIdent |
( |
int |
Slot | ) |
const |
◆ KeyLevel()
int CAuthManager::KeyLevel |
( |
int |
Slot | ) |
const |
◆ ListKeys()
void CAuthManager::ListKeys |
( |
FListCallback |
pfnListCallbac, |
|
|
void * |
pUser |
|
) |
| |
◆ NumNonDefaultKeys()
int CAuthManager::NumNonDefaultKeys |
( |
| ) |
const |
◆ RemoveKey()
void CAuthManager::RemoveKey |
( |
int |
Slot | ) |
|
◆ UpdateKey()
void CAuthManager::UpdateKey |
( |
int |
Slot, |
|
|
const char * |
pPw, |
|
|
int |
AuthLevel |
|
) |
| |
◆ UpdateKeyHash()
void CAuthManager::UpdateKeyHash |
( |
int |
Slot, |
|
|
MD5_DIGEST |
Hash, |
|
|
const unsigned char * |
pSalt, |
|
|
int |
AuthLevel |
|
) |
| |
◆ m_aDefault
int CAuthManager::m_aDefault[3] |
|
private |
◆ m_Generated
bool CAuthManager::m_Generated |
|
private |
◆ m_vKeys
std::vector<CKey> CAuthManager::m_vKeys |
|
private |
The documentation for this class was generated from the following files: