Expand description
HTTP authentication header parsing.
Extracts credentials from Authorization headers for EST enrollment
authentication. Supports:
- HTTP Basic (RFC 7617) – username:password for OTP validation
- Bearer token (RFC 6750) – OAuth2 / JWT tokens
- Negotiate (RFC 4559) – GSSAPI/Kerberos SPNEGO tokens
- Client certificate – extracted from TLS connection info
Structs§
- Basic
Challenge - Builder for
WWW-Authenticate: Basicchallenge headers.
Enums§
- Auth
Credential - Parsed credential from an HTTP
Authorizationheader. - Auth
Error - Errors during authentication header parsing.
Constants§
- WWW_
AUTHENTICATE_ BASIC - Default
WWW-Authenticateheader value for HTTP Basic authentication.
Functions§
- client_
cert_ credential - Extract the subject DN from a client certificate.
- parse_
authorization - Parse an
Authorizationheader value into a structured credential.