-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathdoc.go
More file actions
10 lines (10 loc) · 718 Bytes
/
doc.go
File metadata and controls
10 lines (10 loc) · 718 Bytes
1
2
3
4
5
6
7
8
9
10
// Package httpsign signs HTTP requests and responses as defined in RFC 9421, formerly draft-ietf-httpbis-message-signatures.
//
// For client-side message signing and verification, use the Client wrapper.
// Alternatively you can use SignRequest, VerifyResponse etc. directly, but this is more complicated.
// For server-side operation,
// WrapHandler installs a wrapper around a normal HTTP message handler.
// Digest functionality (creation and validation of the Content-Digest header) is available automatically
// through the Client and WrapHandler interfaces, otherwise it is available separately.
// Use Message and its Verify method if you need more flexibility such as in a non-HTTP context.
package httpsign