26 #ifndef _OPENVASMD_LSC_CRYPT_H
27 #define _OPENVASMD_LSC_CRYPT_H
46 const char *, ...) G_GNUC_NULL_TERMINATED;
lsc_crypt_ctx_t lsc_crypt_new()
Return a new context for LSC encryption.
int lsc_crypt_create_key()
Create the standard credential encryption key.
const char * lsc_crypt_get_private_key(lsc_crypt_ctx_t ctx, const char *ciphertext)
Return an encrypted private key in the clear.
int disable_encrypted_credentials
Flag indicating that encrypted credentials are disabled.
void lsc_crypt_flush(lsc_crypt_ctx_t ctx)
Flush an LSC encryption context.
struct lsc_crypt_ctx_s * lsc_crypt_ctx_t
const char * lsc_crypt_get_password(lsc_crypt_ctx_t ctx, const char *ciphertext)
Return an encrypted password in the clear.
The context object for encryption operations.
const char * lsc_crypt_decrypt(lsc_crypt_ctx_t ctx, const char *ciphertext, const char *name)
Return an encrypted value in the clear.
char * lsc_crypt_encrypt(lsc_crypt_ctx_t ctx, const char *first_name,...)
Encrypt a list of name/value pairs.
void lsc_crypt_release(lsc_crypt_ctx_t ctx)
Release an LSC encryption context.