Liking cljdoc? Tell your friends :D

roughtime-protocol.cert


cert-bytesclj

(cert-bytes dele longterm-prv {:keys [version]})

Build the CERT TLV message by signing a DELE message.

Build the CERT TLV message by signing a DELE message.
sourceraw docstring

check-cert-expirationclj

(check-cert-expiration cert)

Returns human-readable expiration info for a certificate.

Returns human-readable expiration info for a certificate.
sourceraw docstring

dele-bytesclj

(dele-bytes online-pub-raw32 mint-seconds maxt-seconds)

Build the DELE (delegation) TLV message.

Build the DELE (delegation) TLV message.
sourceraw docstring

make-certificateclj

(make-certificate online-pub
                  longterm-prv
                  {:keys [mint-seconds maxt-seconds version]})

Full flow to delegate a new online key.

Full flow to delegate a new online key.
sourceraw docstring

verify-cert?clj

(verify-cert? cert longterm-pub {:keys [version]})

Verify a CERT against a long-term public key. Returns a map {:pubk raw32 :mint BigInt :maxt BigInt} on success.

Verify a CERT against a long-term public key.
Returns a map {:pubk raw32 :mint BigInt :maxt BigInt} on success.
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