Liking cljdoc? Tell your friends :D

buddy.sign.jwe

Json Web Encryption.

Json Web Encryption.
raw docstring

aead-decryptcljmultimethod

source

aead-encryptcljmultimethod

source

decodeclj

(decode input key)
(decode input key {:keys [alg enc] :or {alg :dir enc :a128cbc-hs256} :as opts})

Decrypt the jwe compliant message and return its payload.

Decrypt the jwe compliant message and return its 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

decryptclj

(decrypt input key)
(decrypt input key {:keys [alg enc] :or {alg :dir enc :a128cbc-hs256} :as opts})

Decrypt the jwe compliant message and return its payload.

Decrypt the jwe compliant message and return its payload.
sourceraw docstring

encodeclj

(encode payload
        key
        &
        [{:keys [alg enc zip header]
          :or {alg :dir enc :a128cbc-hs256 zip false}
          :as opts}])

Encrypt then sign arbitrary length string/byte array using json web encryption.

Encrypt then sign arbitrary length string/byte array using
json web encryption.
sourceraw docstring

encryptclj

(encrypt payload
         key
         &
         [{:keys [alg enc zip header]
           :or {alg :dir enc :a128cbc-hs256 zip false}
           :as opts}])

Encrypt then sign arbitrary length string/byte array using json web encryption.

Encrypt then sign arbitrary length string/byte array using
json web encryption.
sourceraw docstring

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

× close