buddy.sign.util

defalias

macro

(defalias name orig)

encode-jose-header

(encode-jose-header {:keys [alg enc], :as header})

IKeyProvider

protocol

members

resolve-key

(resolve-key key header)

Resolve a key

ITimestamp

protocol

Default protocol for convert any type to unix timestamp.

members

to-timestamp

(to-timestamp obj)

Covert to timestamp

now

(now)

Get a current timestamp in seconds.

parse-jose-header

(parse-jose-header data)

timestamp

deprecated

Alias to now.