Liking cljdoc? Tell your friends :D

buddy.sign.jws

Json Web Signature implementation.

Json Web Signature implementation.
raw docstring

+signers-map+clj

Supported algorithms.

Supported algorithms.
sourceraw docstring

decodeclj

(decode input pkey)
(decode input pkey {:keys [alg] :or {alg :hs256}})

Given a signed message, verify it and return the decoded payload.

Given a signed message, verify it and return
the decoded payload.
sourceraw docstring

decode-headerclj

(decode-header input)

Given a message, decode the header. WARNING: This does not perform any signature validation.

Given a message, decode the header.
WARNING: This does not perform any signature validation.
sourceraw docstring

encodeclj

(encode payload pkey & [{:keys [alg header] :or {alg :hs256} :as opts}])

Sign arbitrary length string/byte array using json web token/signature.

Sign arbitrary length string/byte array using
json web token/signature.
sourceraw docstring

signclj

(sign payload pkey & [{:keys [alg header] :or {alg :hs256} :as opts}])

Sign arbitrary length string/byte array using json web token/signature.

Sign arbitrary length string/byte array using
json web token/signature.
sourceraw docstring

unsignclj

(unsign input pkey)
(unsign input pkey {:keys [alg] :or {alg :hs256}})

Given a signed message, verify it and return the decoded payload.

Given a signed message, verify it and return
the decoded payload.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close