websCalcNonceGoAhead WebServer APIGoAhead EMF

Synopsis

Generate a nonce string for digest authentication purposes.

Prototype

 #include "websda.h"

 char_t alcNonce(webs_t wp);

Parameters

wppointer to a websRec data structure

Description

The returned string must be deleted using bfree.

Return Value

websCalcNonce returns a pointer to a new copy of a nonce string, or a NULL on an error.

Example

char_t * nonce = websCalcNonce(wp);

See Also

websCalcOpaque(), websCalcDigest(), bfree()