Response for the authentication mech "Wolframe-CRAM". More...
#include <CRAM.hpp>
Public Member Functions | |
CRAMresponse (const CRAMchallenge &challenge, const PasswordHash &pwdHash) | |
Constructors. More... | |
CRAMresponse (const std::string &challenge, const std::string &password) | |
~CRAMresponse () | |
const unsigned char * | response () const |
std::size_t | size () const |
std::string | toBCD () const |
std::string | toString () const |
bool | operator== (const CRAMresponse &rhs) |
True if the 2 CRAM responses are identical, false otherwise. More... | |
bool | operator!= (const CRAMresponse &rhs) |
bool | operator== (const std::string &rhs) |
bool | operator!= (const std::string &rhs) |
Private Attributes | |
unsigned char | m_response [CRAM_RESPONSE_SIZE] |
Response for the authentication mech "Wolframe-CRAM".
_Wolframe::AAAA::CRAMresponse::CRAMresponse | ( | const CRAMchallenge & | challenge, |
const PasswordHash & | pwdHash | ||
) |
Constructors.
_Wolframe::AAAA::CRAMresponse::CRAMresponse | ( | const std::string & | challenge, |
const std::string & | password | ||
) |
_Wolframe::AAAA::CRAMresponse::~CRAMresponse | ( | ) |
|
inline |
|
inline |
bool _Wolframe::AAAA::CRAMresponse::operator== | ( | const CRAMresponse & | rhs | ) |
True if the 2 CRAM responses are identical, false otherwise.
bool _Wolframe::AAAA::CRAMresponse::operator== | ( | const std::string & | rhs | ) |
|
inline |
|
inline |
std::string _Wolframe::AAAA::CRAMresponse::toBCD | ( | ) | const |
std::string _Wolframe::AAAA::CRAMresponse::toString | ( | ) | const |
|
private |
Copyright © 2014 - Project Wolframe - All Rights Reserved