Wolframe, 0.0.3

_Wolframe::AAAA::CRAMsalt Class Reference

Extract the password seed from the challenge message. More...

#include <CRAM.hpp>

Public Member Functions

 CRAMsalt (const std::string &challenge)
 
 ~CRAMsalt ()
 
const unsigned char * salt () const
 
std::size_t size () const
 
std::string toBCD () const
 
std::string toString () const
 

Private Attributes

unsigned char m_salt [CRAM_SALT_SIZE]
 

Detailed Description

Extract the password seed from the challenge message.

Constructor & Destructor Documentation

_Wolframe::AAAA::CRAMsalt::CRAMsalt ( const std::string &  challenge)
Note
The challenge string is base64 encoded, including the password salt, with or without end padding.
_Wolframe::AAAA::CRAMsalt::~CRAMsalt ( )

Member Function Documentation

const unsigned char* _Wolframe::AAAA::CRAMsalt::salt ( ) const
inline
std::size_t _Wolframe::AAAA::CRAMsalt::size ( ) const
inline
std::string _Wolframe::AAAA::CRAMsalt::toBCD ( ) const
std::string _Wolframe::AAAA::CRAMsalt::toString ( ) const

Member Data Documentation

unsigned char _Wolframe::AAAA::CRAMsalt::m_salt[CRAM_SALT_SIZE]
private

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