Expand description
Shared HTTP Digest authentication for SIP.
Parsing, challenge selection and digest arithmetic live in the sans-I/O SIP core so
registration and call setup use one implementation. This module preserves the sipx-ua API
and supplies entropy at the runtime-facing layer.
Structs§
- Challenge
- A challenge from a
WWW-AuthenticateorProxy-Authenticateheader. - Credentials
- What a user knows.
Enums§
- Algorithm
- Which digest algorithm a challenge asks for.
Functions§
- new_
cnonce - A fresh client nonce.
- respond
- Answer a challenge.
- strongest
- Pick the strongest challenge offered, which is a deliberate departure from RFC 8760 §2.4.
- topmost_
supported - Pick the first challenge offered, which is RFC 8760 §2.4’s own rule.