Couchbase C Client  3.2.2
Asynchronous C Client for Couchbase
crypto.h File Reference


Field encryption More...

Go to the source code of this file.

Data Structures

struct  lcbcrypto_SIGV
 
IOV-style structure for signing functions of crypto-provider. More...
 
struct  lcbcrypto_PROVIDER
 
Crypto-provider interface. More...
 
struct  lcbcrypto_FIELDSPEC
 
Structure for JSON field specification for encrypt/decrypt API. More...
 
struct  lcbcrypto_CMDENCRYPT
 
Command to encrypt JSON fields. More...
 
struct  lcbcrypto_CMDDECRYPT
 
Command to decrypt JSON fields. More...
 

Macros

#define LCBCRYPTO_DEFAULT_FIELD_PREFIX
 Default prefix for encrypted JSON fields.
 

Functions

void lcbcrypto_register (lcb_INSTANCE *instance, const char *name, lcbcrypto_PROVIDER *provider)
 Register crypto-provider for specified alias. More...
 
void lcbcrypto_unregister (lcb_INSTANCE *instance, const char *name)
 Unregister crypto-provider for specified alias. More...
 
void lcbcrypto_ref (lcbcrypto_PROVIDER *provider)
 Increment reference counter for crypto-provider. More...
 
void lcbcrypto_unref (lcbcrypto_PROVIDER *provider)
 Decrement reference counter for crypto-provider. More...
 
lcb_STATUS lcbcrypto_encrypt_fields (lcb_INSTANCE *instance, lcbcrypto_CMDENCRYPT *cmd)
 
Encrypt all specified fields in the JSON encoded object. More...
 
lcb_STATUS lcbcrypto_decrypt_fields (lcb_INSTANCE *instance, lcbcrypto_CMDDECRYPT *cmd)
 
Decrypt all specified fields in the JSON encoded object. More...
 

Detailed Description


Field encryption

Stability
Uncommitted: