Wolframe, 0.0.3

_Wolframe::AAAA::CRAMchallenge Class Reference

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]
 

Detailed Description

Challenge for the authentication mech "Wolframe-CRAM".

Constructor & Destructor Documentation

_Wolframe::AAAA::CRAMchallenge::CRAMchallenge ( const crypto::RandomGenerator rndGen)
_Wolframe::AAAA::CRAMchallenge::~CRAMchallenge ( )

Member Function Documentation

const unsigned char* _Wolframe::AAAA::CRAMchallenge::challenge ( ) const
inline
std::size_t _Wolframe::AAAA::CRAMchallenge::size ( ) const
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>

std::string _Wolframe::AAAA::CRAMchallenge::toString ( const PasswordHash password) const
inline

Member Data Documentation

unsigned char _Wolframe::AAAA::CRAMchallenge::m_challenge[CRAM_CHALLENGE_SIZE]
private

The documentation for this class was generated from the following file: