Liking cljdoc? Tell your friends :D

jose.proc


jwe-decrypter-factoryclj

(jwe-decrypter-factory processor)

Returns the Nimbus decrypter factory configured on a processor.

Returns the Nimbus decrypter factory configured on a processor.
sourceraw docstring

jws-algorithm-familiesclj

source

jws-key-selectorclj

(jws-key-selector family source-value)

Builds a JWS key selector from a JWS algorithm family and JWKS source.

The family may be a keyword such as :rsa or a Nimbus JWSAlgorithm$Family. The source may be a jose.jwks Source or a Nimbus JWKSource. The returned selector also consults a per-call JWKSecurityContext when supplied.

Builds a JWS key selector from a JWS algorithm family and JWKS source.

The family may be a keyword such as :rsa or a Nimbus JWSAlgorithm$Family.
The source may be a jose.jwks Source or a Nimbus JWKSource. The returned
selector also consults a per-call JWKSecurityContext when supplied.
sourceraw docstring

jws-key-selector-from-jwk-set-urlclj

(jws-key-selector-from-jwk-set-url url)

Builds Nimbus's signature-family selector from a JWKS URL.

Builds Nimbus's signature-family selector from a JWKS URL.
sourceraw docstring

jws-verifier-factoryclj

(jws-verifier-factory processor)

Returns the Nimbus verifier factory configured on a processor.

Returns the Nimbus verifier factory configured on a processor.
sourceraw docstring

matcherclj

(matcher opts)

Returns a predicate matching JOSE objects against supplied criteria.

Criteria are :classes, :algorithms, :encryption-methods, :jwk-urls, and :key-ids. The predicate accepts a Nimbus JOSEObject or compact string.

Returns a predicate matching JOSE objects against supplied criteria.

Criteria are :classes, :algorithms, :encryption-methods, :jwk-urls, and
:key-ids. The predicate accepts a Nimbus JOSEObject or compact string.
sourceraw docstring

processclj

(process processor compact)
(process processor compact context)

Processes compact JOSE with a processor and returns payload text and bytes.

Processes compact JOSE with a processor and returns payload text and bytes.
sourceraw docstring

processorclj

(processor source-value opts)

Builds a configurable generic JOSE processor for signed or encrypted JOSE.

A supplied :jws-key-selector or :jwe-key-selector may only narrow the algorithms a processor accepts. When an explicit :jws-algs, :jwe-algs, or :jwe-encs allow-list is also configured, the effective allow-list is the intersection of the two: the selector never widens the configuration. With no explicit allow-list the selector alone decides.

Builds a configurable generic JOSE processor for signed or encrypted JOSE.

A supplied :jws-key-selector or :jwe-key-selector may only narrow the
algorithms a processor accepts. When an explicit :jws-algs, :jwe-algs, or
:jwe-encs allow-list is also configured, the effective allow-list is the
intersection of the two: the selector never widens the configuration. With
no explicit allow-list the selector alone decides.
sourceraw docstring

security-contextclj

(security-context keys)

Builds a per-call Nimbus JWK security context from JWKs or JWK maps.

Builds a per-call Nimbus JWK security context from JWKs or JWK maps.
sourceraw docstring

single-key-selectorclj

(single-key-selector alg key)

Builds a JWS key selector for one algorithm and Java key or JWK.

Builds a JWS key selector for one algorithm and Java key or JWK.
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