Liking cljdoc? Tell your friends :D

jose.jws


(header compact)

Returns the unverified compact JWS header as a Clojure map.

Returns the unverified compact JWS header as a Clojure map.
sourceraw docstring

signclj

(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.
sourceraw docstring

verifyclj

(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}.
sourceraw docstring

verify-with-jwksclj

(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.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close