(->json jwk)(->json jwk opts)Returns a JWK JSON string. Pass {:private? false} for a public-only JWK.
Returns a JWK JSON string. Pass {:private? false} for a public-only JWK.
(->map jwk)Returns the complete JWK JSON representation as a Clojure map.
Returns the complete JWK JSON representation as a Clojure map.
(certificate->jwk certificate)Imports the public key and X.509 metadata from a certificate.
Imports the public key and X.509 metadata from a certificate.
(filter-set jwks matcher)Returns the JWKs matching a Nimbus JWKMatcher.
Returns the JWKs matching a Nimbus JWKMatcher.
(generate kind)(generate kind opts)Generates a Nimbus JWK. Kind is one of :rsa, :ec, :okp, or :oct.
Generates a Nimbus JWK. Kind is one of :rsa, :ec, :okp, or :oct.
(keystore->jwk keystore alias pin)Imports a key store entry by alias. The PIN may be a string, char array, or nil.
Imports a key store entry by alias. The PIN may be a string, char array, or nil.
(load-set source)Loads a JWK set from a file, input stream, JSON string, or Nimbus JWKSet.
Loads a JWK set from a file, input stream, JSON string, or Nimbus JWKSet.
(parse s-or-map)Parses a JWK JSON string, Clojure map, or returns a Nimbus JWK unchanged.
Parses a JWK JSON string, Clojure map, or returns a Nimbus JWK unchanged.
(parse-set s-or-map)Parses a JWKS JSON string, Clojure map, or returns a Nimbus JWKSet unchanged.
Parses a JWKS JSON string, Clojure map, or returns a Nimbus JWKSet unchanged.
(public-jwk jwk)Returns a public-only JWK, or nil when the key has no public form.
Returns a public-only JWK, or nil when the key has no public form.
(public-jwk-set jwks)Returns a public JWK set with all private and symmetric material removed.
Returns a public JWK set with all private and symmetric material removed.
(set-contains? jwks candidate)Returns true when the set contains a JWK with the same thumbprint.
Returns true when the set contains a JWK with the same thumbprint.
(set-members jwks)Returns top-level JWK set members other than keys.
Returns top-level JWK set members other than keys.
(thumbprint jwk)Returns the RFC 7638 SHA-256 JWK thumbprint.
Returns the RFC 7638 SHA-256 JWK thumbprint.
(thumbprint-uri jwk)Returns the RFC 9278 JWK thumbprint URI for the SHA-256 thumbprint.
Returns the RFC 9278 JWK thumbprint URI for the SHA-256 thumbprint.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |