Challenge for the authentication mech "Wolframe-CRAM". More...
#include <CRAM.hpp>
Public Member Functions | |
CRAMchallenge (const crypto::RandomGenerator &rndGen) | |
~CRAMchallenge () | |
const unsigned char * | challenge () const |
std::size_t | size () const |
std::string | toBCD () const |
std::string | toString () const |
std::string | toString (const PasswordHash::Salt &salt) const |
Return a string in the format $<salt>$<challenge> More... | |
std::string | toString (const PasswordHash &password) const |
Private Attributes | |
unsigned char | m_challenge [CRAM_CHALLENGE_SIZE] |
Challenge for the authentication mech "Wolframe-CRAM".
_Wolframe::AAAA::CRAMchallenge::CRAMchallenge | ( | const crypto::RandomGenerator & | rndGen | ) |
_Wolframe::AAAA::CRAMchallenge::~CRAMchallenge | ( | ) |
|
inline |
|
inline |
std::string _Wolframe::AAAA::CRAMchallenge::toBCD | ( | ) | const |
std::string _Wolframe::AAAA::CRAMchallenge::toString | ( | ) | const |
std::string _Wolframe::AAAA::CRAMchallenge::toString | ( | const PasswordHash::Salt & | salt | ) | const |
Return a string in the format $<salt>$<challenge>
|
inline |
|
private |
Copyright © 2014 - Project Wolframe - All Rights Reserved