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