Couchbase Lite C
Couchbase Lite C API
Loading...
Searching...
No Matches
CBLEncryptable.h File Reference
#include "CBLBase.h"

Go to the source code of this file.

Functions

CBLINLINE const CBLEncryptableCBLEncryptable_Retain (const CBLEncryptable *_cbl_nullable t)
CBLINLINE void CBLEncryptable_Release (const CBLEncryptable *_cbl_nullable t)
CBLEncryptableCBLEncryptable_CreateWithNull (void)
 Creates CBLEncryptable object with null value.
CBLEncryptableCBLEncryptable_CreateWithBool (bool value)
 Creates CBLEncryptable object with a boolean value.
CBLEncryptableCBLEncryptable_CreateWithInt (int64_t value)
 Creates CBLEncryptable object with an int value.
CBLEncryptableCBLEncryptable_CreateWithUInt (uint64_t value)
 Creates CBLEncryptable object with an unsigned int value.
CBLEncryptableCBLEncryptable_CreateWithFloat (float value)
 Creates CBLEncryptable object with a float value.
CBLEncryptableCBLEncryptable_CreateWithDouble (double value)
 Creates CBLEncryptable object with a double value.
CBLEncryptableCBLEncryptable_CreateWithString (FLString value)
 Creates CBLEncryptable object with a string value.
CBLEncryptableCBLEncryptable_CreateWithValue (FLValue value)
 Creates CBLEncryptable object with an FLValue value.
CBLEncryptableCBLEncryptable_CreateWithArray (FLArray value)
 Creates CBLEncryptable object with an FLArray value.
CBLEncryptableCBLEncryptable_CreateWithDict (FLDict value)
 Creates CBLEncryptable object with an FLDict value.
FLValue CBLEncryptable_Value (const CBLEncryptable *encryptable)
 Returns the value to be encrypted by the push replicator.
FLDict CBLEncryptable_Properties (const CBLEncryptable *encryptable)
 Returns the dictionary format of the CBLEncryptable object.
bool FLDict_IsEncryptableValue (FLDict _cbl_nullable)
 Checks whether the given dictionary is a CBLEncryptable or not.
CBLINLINE bool FLValue_IsEncryptableValue (FLValue _cbl_nullable value)
 Checks whether the given FLValue is a CBLEncryptable or not.
const CBLEncryptable *_cbl_nullable FLDict_GetEncryptableValue (FLDict _cbl_nullable encryptableDict)
 Returns a CBLEncryptable object corresponding to the given encryptable dictionary in a document or NULL if the dictionary is not a CBLEncryptable.
CBLINLINE const CBLEncryptable *_cbl_nullable FLValue_GetEncryptableValue (FLValue _cbl_nullable value)
 Returns a CBLEncryptable object corresponding to the given Fleece Values in a document or NULL if the value is not a CBLEncryptable.
void FLSlot_SetEncryptableValue (FLSlot slot, const CBLEncryptable *encryptable)
 Set a CBLEncryptable's dictionary into a mutable dictionary's slot.
CBLINLINE void FLMutableDict_SetEncryptableValue (FLMutableDict dict, FLString key, CBLEncryptable *encryptable)
 Set a CBLEncryptable's dictionary into a mutable dictionary.

Variables

CBL_PUBLIC const FLSlice kCBLEncryptableType
 "encryptable"
CBL_PUBLIC const FLSlice kCBLEncryptableValueProperty
 "value"