(decrypt decryptor decryptable & keyphrase)
Inputs: [decryptor :- s/Str decryptable :- EncryptedCredential & keyphrase] Returns: UnencryptedCredential
decrypt the secret part of encryptable. for decryptor options see decrypt-secret.
Inputs: [decryptor :- s/Str decryptable :- EncryptedCredential & keyphrase] Returns: UnencryptedCredential decrypt the secret part of encryptable. for decryptor options see decrypt-secret.
(decrypt-secret decryptor secret & keyphrase)
Inputs: [decryptor :- s/Str secret :- s/Str & keyphrase]
decrypts the secret. decryptor can be passphrase or private key. alternatively you can provide a seckey as decryptor and the corresponding keyphrase for unlocking.
Inputs: [decryptor :- s/Str secret :- s/Str & keyphrase] decrypts the secret. decryptor can be passphrase or private key. alternatively you can provide a seckey as decryptor and the corresponding keyphrase for unlocking.
(encrypt encryptors encryptable)
Inputs: [encryptors :- s/Str encryptable :- UnencryptedCredential] Returns: EncryptedCredential
encrypt the secret part of encryptable.
Inputs: [encryptors :- s/Str encryptable :- UnencryptedCredential] Returns: EncryptedCredential encrypt the secret part of encryptable.
(encrypt-secret encryptors secret)
Inputs: [encryptors :- [s/Str] secret :- s/Str]
encrypt the secret. encryptor can be passphrase or public key.
Inputs: [encryptors :- [s/Str] secret :- s/Str] encrypt the secret. encryptor can be passphrase or public key.
(encrypted? message)
Inputs: [message :- s/Str] Returns: s/Bool
Inputs: [message :- s/Str] Returns: s/Bool
(get-public-key encryption-config)
Inputs: [encryption-config :- EncryptionConfiguration]
get the public key from given configuration.
Inputs: [encryption-config :- EncryptionConfiguration] get the public key from given configuration.
(get-secret-key encryption-config)
Inputs: [encryption-config :- EncryptionConfiguration]
get the private key from given configuration.
Inputs: [encryption-config :- EncryptionConfiguration] get the private key from given configuration.
(load-secret-keyring encryption-config)
Inputs: [encryption-config :- EncryptionConfiguration]
Load the secret keyring from configured position.
Inputs: [encryption-config :- EncryptionConfiguration] Load the secret keyring from configured position.
(secring-path encryption-config)
Inputs: [encryption-config :- EncryptionConfiguration] Returns: s/Str
Inputs: [encryption-config :- EncryptionConfiguration] Returns: s/Str
(unencrypted? message)
Inputs: [message :- s/Str] Returns: s/Bool
Inputs: [message :- s/Str] Returns: s/Bool
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close