buddy.sign.jwt

decode-header

(decode-header input)

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

decrypt

(decrypt message pkey)(decrypt message pkey {:keys [skip-validation], :or {skip-validation false}, :as opts})

encrypt

(encrypt claims pkey)(encrypt claims pkey opts)

sign

(sign claims pkey)(sign claims pkey opts)

unsign

(unsign message pkey)(unsign message pkey {:keys [skip-validation], :or {skip-validation false}, :as opts})