buddy.core.keys.jwk.proto

b64str->bigint

(b64str->bigint string)

bigint->b64str

(bigint->b64str length bi)

bytes->b64str

(bytes->b64str bs)

calc-byte-length

(calc-byte-length bi)

jwk

multimethod

Converts JCA private and public key to clojure map representing JWK object

jwk->private-key

multimethod

(jwk->private-key jwk)

Convert a jwk into a PrivateKey instance.

jwk->public-key

multimethod

(jwk->public-key jwk)

Convert a jwk into a PublicKey instance.

public-key->jwk

multimethod

Converts JCA public key to clojure map representing JWK object

thumbprint

multimethod

(thumbprint jwk)

Calculate the thumbprint of the jwk key according to the RFC7638.