reSIProcate/stack  9694
Namespaces | Defines | Typedefs | Functions
digcalc.hxx File Reference
#include "rutil/vmd5.hxx"
#include <string.h>
#include <iostream>
#include "rutil/Data.hxx"
Include dependency graph for digcalc.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  resip
 

SERNonceHelper implements the makeNonce function in the same way as SIP Express Router (SER) - http://www.iptel.org/ser.


Defines

#define HASHLEN   16
#define HASHHEXLEN   32
#define IN   const
#define OUT

Typedefs

typedef char HASH [HASHLEN]
typedef char HASHHEX [HASHHEXLEN+1]
typedef MD5Context resip::MD5_CTX

Functions

void resip::MD5_Update (struct MD5Context *ctx, char const *buf, unsigned len)
void resip::MD5_Final (char digest[16], struct MD5Context *ctx)
void resip::DigestCalcHA1 (IN char *pszAlg, IN char *pszUserName, IN char *pszRealm, IN char *pszPassword, IN char *pszNonce, IN char *pszCNonce, OUT HASHHEX SessionKey)
void resip::DigestCalcResponse (IN HASHHEX HA1, IN char *pszNonce, IN char *pszNonceCount, IN char *pszCNonce, IN char *pszQop, IN char *pszMethod, IN char *pszDigestUri, IN HASHHEX HEntity, OUT HASHHEX Response)
void resip::CvtHex (IN HASH Bin, OUT HASHHEX Hex)

Define Documentation

#define HASHHEXLEN   32

Definition at line 12 of file digcalc.hxx.

#define HASHLEN   16

Definition at line 10 of file digcalc.hxx.

#define IN   const

Definition at line 14 of file digcalc.hxx.

#define OUT

Definition at line 15 of file digcalc.hxx.


Typedef Documentation

typedef char HASH[HASHLEN]

Definition at line 11 of file digcalc.hxx.

typedef char HASHHEX[HASHHEXLEN+1]

Definition at line 13 of file digcalc.hxx.