(sig-string {method :request-method path :uri headers :headers body :body}
targets)
Generates the signature string based on the given Ring request map and
the list of headers to use. The 'special headers' (request-target)
,
digest
and host
are changed as the spec demands. All other headers are
used as-is. Ref: https://tools.ietf.org/html/draft-cavage-http-signatures-06
Generates the signature string based on the given Ring request map and the list of headers to use. The 'special headers' `(request-target)`, `digest` and `host` are changed as the spec demands. All other headers are used as-is. Ref: https://tools.ietf.org/html/draft-cavage-http-signatures-06
(sign-request request targets {:keys [key-id pem]})
Signature string for a Ring request map with the given private key.
Signature string for a Ring request map with the given private key.
(verify {{sig-header "signature"} :headers
{{actor :actor} :body} :parameters
:as request}
input-key)
Verifies the signature of a request.
Verifies the signature of a request.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close