An hive-spi.crypto.ports/ISigner backed by this system's ICrypto.
The port speaks base64 text — PKCS#8 private, X.509 public, base64
signature — while ICrypto speaks bytes. This namespace is that translation
and nothing else: it decodes, delegates with :crypto/key-encoding :der,
and re-encodes.
Installing it makes hive-license sign through whichever ICrypto a host has already built, instead of hive-license's own JDK adapter. Signatures are byte-identical either way, so licences issued before and after an install verify against the same public key.
An `hive-spi.crypto.ports/ISigner` backed by this system's ICrypto. The port speaks base64 text — PKCS#8 private, X.509 public, base64 signature — while ICrypto speaks bytes. This namespace is that translation and nothing else: it decodes, delegates with `:crypto/key-encoding :der`, and re-encodes. Installing it makes hive-license sign through whichever ICrypto a host has already built, instead of hive-license's own JDK adapter. Signatures are byte-identical either way, so licences issued before and after an install verify against the same public key.
(->system-signer crypto)An ISigner delegating to CRYPTO, an hive-system.protocols/ICrypto.
An ISigner delegating to CRYPTO, an `hive-system.protocols/ICrypto`.
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 |