buddy.core.keys

(source)
PEM reader, JWK file reading writing and JCA conversions NOTE: Supports only public/private key reading - no symmetric keys support available/ References: * https://tools.ietf.org/html/rfc7515 * https://tools.ietf.org/html/rfc7517 * https://tools.ietf.org/html/rfc7638 * https://tools.ietf.org/html/rfc8037 * https://www.iana.org/assignments/jose/jose.xhtml

For more info about this library see:

https://funcool.github.io/buddy-core/latest/
Public Variable Short Description
jwk (clj) Converts JCA private and public key to clojure map representing JWK object.
jwk->private-key (clj) Converts clojure map representing JWK object to java.security.PrivateKey.
jwk->public-key (clj) Converts clojure map representing JWK object to java.security.PublicKey.
jwk-thumbprint (clj) Calculate the thumbprint of the jwk key according to the RFC7638.
private-key (clj) Private key constructor from file path.
private-key? (clj) Return true if key `k` is a private key.
public-key (clj) Public key constructor from file path.
public-key->jwk (clj) Converts JCA public key to clojure map representing JWK object.
public-key? (clj) Return true if key `k` is a public key.
str->private-key (clj) Private key constructor from string.
str->public-key (clj) Public key constructor from string.
unwrap (clj) Wrap a key using some of key wrapping algorithms.
wrap (clj) Wrap a key using some of key wrapping algorithms.