Couchbase Lite C++
Couchbase Lite C++ API
Loading...
Searching...
No Matches
cbl::EncryptionResult Struct Reference

Result returned by a PropertyEncryptor callback. More...

#include <cbl++/Replicator.hh>

Public Attributes

fleece::alloc_slice ciphertext
 Encrypted data. Empty = skip (results in a crypto error).
std::optional< std::string > algorithm
 Optional algorithm name. Default: "CB_MOBILE_CUSTOM".
std::optional< std::string > keyID
 Optional key identifier.
CBLError error {}
 Optional error. Non-zero aborts replication for this doc.

Detailed Description

Result returned by a PropertyEncryptor callback.

Member Data Documentation

◆ algorithm

std::optional<std::string> cbl::EncryptionResult::algorithm

Optional algorithm name. Default: "CB_MOBILE_CUSTOM".

◆ ciphertext

fleece::alloc_slice cbl::EncryptionResult::ciphertext

Encrypted data. Empty = skip (results in a crypto error).

◆ error

CBLError cbl::EncryptionResult::error {}

Optional error. Non-zero aborts replication for this doc.

◆ keyID

std::optional<std::string> cbl::EncryptionResult::keyID

Optional key identifier.


The documentation for this struct was generated from the following file: