Liking cljdoc? Tell your friends :D

hive-license.core

Facade: issue a licence, verify one offline.

Verification performs no IO. The caller supplies the clock and the host identity, so the same inputs always yield the same verdict.

Facade: issue a licence, verify one offline.

Verification performs no IO. The caller supplies the clock and the host
identity, so the same inputs always yield the same verdict.
raw docstring

issueclj

(issue private-b64 license)

Sign license with PKCS#8 private-b64, returning a SignedLicense. Server-side only — no shipped artifact carries a private key.

Sign `license` with PKCS#8 `private-b64`, returning a SignedLicense.
Server-side only — no shipped artifact carries a private key.
raw docstring

requestclj

(request {:keys [signed now node-id unit]})

Assemble the VerifyRequest a verdict is computed from. Pure.

public-key is resolved from the keyring by the licence's own key-id, so rotation is a registry entry rather than a call-site change.

Assemble the VerifyRequest a verdict is computed from. Pure.

`public-key` is resolved from the keyring by the licence's own key-id, so
rotation is a registry entry rather than a call-site change.
raw docstring

valid?clj

(valid? opts)

True when opts yields a valid verdict.

True when `opts` yields a valid verdict.
raw docstring

verifyclj

(verify opts)

Verdict for signed at now, on host node-id, for entitlement unit.

Returns {:license/valid? true :license/license L} or {:license/valid? false :license/reason DenyReason}.

Verdict for `signed` at `now`, on host `node-id`, for entitlement `unit`.

Returns {:license/valid? true :license/license L} or
        {:license/valid? false :license/reason DenyReason}.
raw 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