Documentation ¶
Overview ¶
Package digest implements HTTP Digest support according to RFC 3230 https://tools.ietf.org/html/rfc3230
Index ¶
Constants ¶
View Source
const Header = "Digest"
Header is the HTTP header used
Variables ¶
This section is empty.
Functions ¶
func VerifyHeader ¶
VerifyHeader parses the HTTP Digest header and verifies it against the body of the request
Types ¶
type Algorithm ¶
type Algorithm int
Algorithm represents the type of HTTP Digest to use
These are the available Algorithms. Note that UNIXsum and UNIXcksum are not fully supported.
func ParseAlgorithm ¶
ParseAlgorithm parses a string into an Algorithm
func ParseHeader ¶
ParseHeader parses the HTTP Digest header and extracts the Algorithm and hash of the request body
Click to show internal directories.
Click to hide internal directories.