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.
(check! schema value ctx)Validate value against schema or throw with ctx.
Validate `value` against `schema` or throw with `ctx`.
Maven-style entitlement unit, e.g. io.github.hive-agi:hive-carto.
Maven-style entitlement unit, e.g. io.github.hive-agi:hive-carto.
(iso-instant? s)True when s parses as an ISO-8601 instant.
True when `s` parses as an ISO-8601 instant.
Selects the public key a verifier checks the signature against.
Selects the public key a verifier checks the signature against.
The signed payload. Every field is covered by the signature.
The signed payload. Every field is covered by the signature.
Opaque host identity the licence is locked to; nil means unlocked.
Opaque host identity the licence is locked to; nil means unlocked.
A licence plus the detached Ed25519 signature over its canonical bytes.
A licence plus the detached Ed25519 signature over its canonical bytes.
Result of verification. :license/key is present only when valid.
Result of verification. :license/key is present only when valid.
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.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |