khttpdigest_validate man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

KHTTPDIGEST_VALIDATE(3)	 BSD Library Functions Manual  KHTTPDIGEST_VALIDATE(3)

NAME
     khttpdigest_validate — validate an HTTP digest request

LIBRARY
     library “libkcgi”

SYNOPSIS
     #include <stdint.h>
     #include <kcgi.h>

     int
     khttpdigest_validate(struct kreq *req, const char *password);

DESCRIPTION
     The khttpdigest_validate function validates the given password with the
     HTTP digest-authorised request req as returned by khttp_parse(3) or
     khttp_fcgi_parse(3).  It fully implements all components of the digest:
     QOP, MD5 types, etc.  It does not check that the URI component of the
     digest matches that of the request, as these values are known to be muta‐
     ble.

RETURN VALUES
     khttpdigest_validate will return zero if validation failed, less than
     zero if the request was not properly set up for HTTP digest validation,
     or greater than zero if the validation succeeded.

SEE ALSO
     kcgi(3), khttp_fcgi_parse(3), khttp_parse(3), khttpbasic_validate(3)

AUTHORS
     The khttpdigest_validate function was written by Kristaps Dzonsons
     ⟨kristaps@bsd.lv⟩.

BSD				April 28, 2024				   BSD
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net