rfc2617.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define HASHLEN   16
 
#define HASHHEXLEN   32
 

Typedefs

typedef char HASH [HASHLEN]
 
typedef char HASHHEX [HASHHEXLEN+1]
 

Functions

void DigestCalcHA1 (const char *pszAlg, const char *pszUserName, const char *pszRealm, const char *pszPassword, const char *pszNonce, const char *pszCNonce, HASH HA1, HASHHEX SessionKey)
 
void DigestCalcResponse (const HASHHEX HA1, const char *pszNonce, const char *pszNonceCount, const char *pszCNonce, const char *pszQop, const char *pszMethod, const char *pszDigestUri, const HASHHEX HEntity, HASHHEX Response)
 
void CvtHex (const HASH Bin, HASHHEX Hex)
 
void CvtBin (const HASHHEX Hex, HASH Bin)
 

Macro Definition Documentation

#define HASHHEXLEN   32

Definition at line 32 of file rfc2617.h.

Referenced by CvtBin(), CvtHex(), DigestCalcHA1(), and DigestCalcResponse().

#define HASHLEN   16

Definition at line 30 of file rfc2617.h.

Referenced by CvtBin(), and CvtHex().

Typedef Documentation

typedef char HASH[HASHLEN]

Definition at line 31 of file rfc2617.h.

typedef char HASHHEX[HASHHEXLEN+1]

Definition at line 33 of file rfc2617.h.

Function Documentation

void CvtBin ( const HASHHEX  Hex,
HASH  Bin 
)

Definition at line 49 of file rfc2617.c.

References HASHHEXLEN, HASHLEN, and i.

void CvtHex ( const HASH  Bin,
HASHHEX  Hex 
)

Definition at line 28 of file rfc2617.c.

References HASHHEXLEN, HASHLEN, and i.

Referenced by DigestCalcHA1(), and DigestCalcResponse().

void DigestCalcHA1 ( const char *  pszAlg,
const char *  pszUserName,
const char *  pszRealm,
const char *  pszPassword,
const char *  pszNonce,
const char *  pszCNonce,
HASH  HA1,
HASHHEX  SessionKey 
)

Definition at line 88 of file rfc2617.c.

References CvtHex(), HASHHEXLEN, SquidMD5Final(), SquidMD5Init(), and SquidMD5Update().

Referenced by LDAPHHA1(), and TextHHA1().

void DigestCalcResponse ( const HASHHEX  HA1,
const char *  pszNonce,
const char *  pszNonceCount,
const char *  pszCNonce,
const char *  pszQop,
const char *  pszMethod,
const char *  pszDigestUri,
const HASHHEX  HEntity,
HASHHEX  Response 
)

Definition at line 126 of file rfc2617.c.

References CvtHex(), HASHHEXLEN, SquidMD5Final(), SquidMD5Init(), and SquidMD5Update().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors