websCalcOpaqueGoAhead WebServer APIGoAhead EMF

Synopsis

Generate an opaque string for digest authentication purposes.

Prototype

 #include "websda.h"

 char_t alcOpaque(webs_t wp);

Parameters

wppointer to a websRec data structure

Description

The returned string must be deleted using bfree.

Return Value

websCalcOpaque returns a pointer to a new copy of an opaque string, or a NULL on an error.

Example

char_t 	* opaque = websCalcOpaque(wp);

See Also

websCalcNonce(), bfree()