(header compact)Returns the unverified compact JWS header as a Clojure map.
Returns the unverified compact JWS header as a Clojure map.
(sign key payload-value)(sign key payload-value opts)Signs a string or byte-array payload and returns a compact JWS string.
Signs a string or byte-array payload and returns a compact JWS string.
(verify key compact)Verifies a compact JWS and returns {:payload string :payload-bytes bytes :header map}.
Verifies a compact JWS and returns {:payload string :payload-bytes bytes :header map}.
(verify-with-jwks source compact)(verify-with-jwks source compact opts)Selects a verification key from a JWKS source, then verifies a compact JWS.
Selects a verification key from a JWKS source, then verifies a compact JWS.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |