Liking cljdoc? Tell your friends :D

hive-license.schema

Malli value objects for licences.

Times are ISO-8601 strings, not Date instances: a licence must round-trip through bytes unchanged for its signature to verify.

Malli value objects for licences.

Times are ISO-8601 strings, not Date instances: a licence must round-trip
through bytes unchanged for its signature to verify.
raw docstring

Base64clj


check!clj

(check! schema value ctx)

Validate value against schema or throw with ctx.

Validate `value` against `schema` or throw with `ctx`.
raw docstring

DenyReasonclj


EntitlementUnitclj

Maven-style entitlement unit, e.g. io.github.hive-agi:hive-carto.

Maven-style entitlement unit, e.g. io.github.hive-agi:hive-carto.
raw docstring

Entitlesclj

Units this licence grants, or :all.

Units this licence grants, or :all.
raw docstring

iso-instant?clj

(iso-instant? s)

True when s parses as an ISO-8601 instant.

True when `s` parses as an ISO-8601 instant.
raw docstring

IsoInstantclj


KeyIdclj

Selects the public key a verifier checks the signature against.

Selects the public key a verifier checks the signature against.
raw docstring

Licenseclj

The signed payload. Every field is covered by the signature.

The signed payload. Every field is covered by the signature.
raw docstring

NodeIdclj

Opaque host identity the licence is locked to; nil means unlocked.

Opaque host identity the licence is locked to; nil means unlocked.
raw docstring

NonBlankclj


SignedLicenseclj

A licence plus the detached Ed25519 signature over its canonical bytes.

A licence plus the detached Ed25519 signature over its canonical bytes.
raw docstring

Verdictclj

Result of verification. :license/key is present only when valid.

Result of verification. :license/key is present only when valid.
raw docstring

VerifyRequestclj

Everything a verdict is computed from. Pure input — the caller supplies the clock and the host identity, so verification performs no IO.

Everything a verdict is computed from. Pure input — the caller supplies the
clock and the host identity, so verification performs no IO.
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