Creating and managing a key store for storing key pairs in a file.
See convex.key-pair
about key pairs.
Creating and managing a key store for storing key pairs in a file. See [[convex.key-pair]] about key pairs.
(create path)
(create path passphrase)
Creates a new key store in the file under path
.
An optional passphrase protecting the store may be provided.
Creates a new key store in the file under `path`. An optional passphrase protecting the store may be provided.
(key-pair-get key-store alias-or-account-key passphrase)
Retrieves a key pair from the given key-store
.
See key-pair-set
.
Retrieves a key pair from the given `key-store`. See [[key-pair-set]].
(key-pair-set key-store key-pair passphrase)
(key-pair-set key-store alias key-pair passphrase)
Adds the given key-pair
to the key-store
, protected by a mandatory passphrase
.
Public key is used as alias
if none is provided.
See key-pair-set
.
Adds the given `key-pair` to the `key-store`, protected by a mandatory `passphrase`. Public key is used as `alias` if none is provided. See [[key-pair-set]].
(load path)
(load path passphrase)
Loads a key store from the file under path
.
Passphrase must be provided if the store is protected by one.
Loads a key store from the file under `path`. Passphrase must be provided if the store is protected by one.
(save key-store path)
(save key-store path passphrase)
Saves the given key-store
to the file under path
.
An optional passphrase protecting the store may be provided.
Saves the given `key-store` to the file under `path`. An optional passphrase protecting the store may be provided.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close