Liking cljdoc? Tell your friends :D

jerks-whistling-tunes.sign


Algorithmcljprotocol

jwt-algclj

(jwt-alg this)

The jwt algorithm implemented

The jwt algorithm implemented

signclj

(sign this body)

Returns a base 64 encoded signature of the body

Returns a base 64 encoded signature of the body

valid-signature?clj

(valid-signature? this body signature)

Returns true if the signature is valid for the body, false otherwise

Returns true if the signature is valid for the body, false otherwise
source

ec256clj

Returns a EC256 signer. If the key is a java.security.KeyPair, signing and verification will work. If the key is a public key, only verification will work.

Returns a EC256 signer.
If the key is a java.security.KeyPair, signing and verification will work.
If the key is a public key, only verification will work.
sourceraw docstring

ec384clj

Returns a EC384 signer. If the key is a java.security.KeyPair, signing and verification will work. If the key is a public key, only verification will work.

Returns a EC384 signer.
If the key is a java.security.KeyPair, signing and verification will work.
If the key is a public key, only verification will work.
sourceraw docstring

ec512clj

Returns a EC512 signer. If the key is a java.security.KeyPair, signing and verification will work. If the key is a public key, only verification will work.

Returns a EC512 signer.
If the key is a java.security.KeyPair, signing and verification will work.
If the key is a public key, only verification will work.
sourceraw docstring

hs256clj

Returns a HS256 signer

Returns a HS256 signer
sourceraw docstring

hs384clj

Returns a HS384 signer

Returns a HS384 signer
sourceraw docstring

hs512clj

Returns a HS512 signer

Returns a HS512 signer
sourceraw docstring

noneclj

source

rs256clj

Returns a RS256 signer. If the key is a java.security.KeyPair, signing and verification will work. If the key is a public key, only verification will work.

Returns a RS256 signer.
If the key is a java.security.KeyPair, signing and verification will work.
If the key is a public key, only verification will work.
sourceraw docstring

rs384clj

Returns a RS384 signer. If the key is a java.security.KeyPair, signing and verification will work. If the key is a public key, only verification will work.

Returns a RS384 signer.
If the key is a java.security.KeyPair, signing and verification will work.
If the key is a public key, only verification will work.
sourceraw docstring

rs512clj

Returns a RS512 signer. If the key is a java.security.KeyPair, signing and verification will work. If the key is a public key, only verification will work.

Returns a RS512 signer.
If the key is a java.security.KeyPair, signing and verification will work.
If the key is a public key, only verification will work.
sourceraw docstring

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

× close