Liking cljdoc? Tell your friends :D

dda.pallet.commons.encrypted-credentials


decryptclj

(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.
sourceraw docstring

decrypt-secretclj

(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.
sourceraw docstring

default-encryption-configurationclj

(default-encryption-configuration)
source

encryptclj

(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.
sourceraw docstring

encrypt-secretclj

(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.
sourceraw docstring

EncryptableCredentialclj

source

encrypted?clj

(encrypted? message)

Inputs: [message :- s/Str] Returns: s/Bool

Inputs: [message :- s/Str]
Returns: s/Bool
sourceraw docstring

EncryptedCredentialclj

source

EncryptionConfigurationclj

source

get-public-keyclj

(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.
sourceraw docstring

get-secret-keyclj

(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.
sourceraw docstring

load-secret-keyringclj

(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.
sourceraw docstring

secring-pathclj

(secring-path encryption-config)

Inputs: [encryption-config :- EncryptionConfiguration] Returns: s/Str

Inputs: [encryption-config :- EncryptionConfiguration]
Returns: s/Str
sourceraw docstring

unencrypted?clj

(unencrypted? message)

Inputs: [message :- s/Str] Returns: s/Bool

Inputs: [message :- s/Str]
Returns: s/Bool
sourceraw docstring

UnencryptedCredentialclj

source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close