ol.clave.acme.account
validate-account
(validate-account account)
Validate and normalize an account map, returning the normalized map or throwing ex-info.
account-from-edn
(account-from-edn registration-edn)
Parse an EDN string representing account registration metadata.
serialize
(serialize account keypair)
Serialize an account map and keypair into a pretty-printed EDN artifact.
keypair is a java.security.KeyPair.
deserialize
(deserialize account-edn)
Deserialize an EDN artifact into [account keypair].
Returns a vector of [account keypair] where keypair is a java.security.KeyPair.
generate-keypair
(generate-keypair)
(generate-keypair opts)
Generate a new ACME account keypair.
Options map: | key | description | default | |--------|-----------------------------------------|---------| | :algo | key algorithm (:p256, :p384, :ed25519) | :p256 |