Wolframe, 0.0.3

CRAM.hpp File Reference

Challenge Response Authentication Mechanism classes. More...

#include <string>
#include <system/randomGenerator.hpp>
#include <AAAA/passwordHash.hpp>

Go to the source code of this file.

Classes

class  _Wolframe::AAAA::CRAMchallenge
 Challenge for the authentication mech "Wolframe-CRAM". More...
 
class  _Wolframe::AAAA::CRAMresponse
 Response for the authentication mech "Wolframe-CRAM". More...
 
class  _Wolframe::AAAA::CRAMsalt
 Extract the password seed from the challenge message. More...
 

Namespaces

 _Wolframe
 Toplevel Wolframe namespace.
 
 _Wolframe::AAAA
 Interfaces for authentication, authorization, auditing and accounting.
 

Variables

static const size_t _Wolframe::AAAA::CRAM_BLOCK_SIZE = 512 / 8
 
static const size_t _Wolframe::AAAA::CRAM_DIGEST_SIZE = 256 / 8
 
static const size_t _Wolframe::AAAA::CRAM_CHALLENGE_SIZE = CRAM_BLOCK_SIZE
 
static const size_t _Wolframe::AAAA::CRAM_RESPONSE_SIZE = CRAM_DIGEST_SIZE
 
static const size_t _Wolframe::AAAA::CRAM_SALT_SIZE = PASSWORD_SALT_SIZE
 

Detailed Description

Challenge Response Authentication Mechanism classes.

Note
This implementation of a CRAM mechanism is specific to the Wolframe Project. It is not supposed to be compatible to other implementations. But we hope that is at least as secure as any other authentication implementation.