On Feb 13, 2014, at 1:01 PM, Alan McKean <[email protected]<mailto:[email protected]>> wrote:
I don't understand the role of _changedNames, so I'm not sure where the decryption/encryption should occur: _changedNames is a set containing the property names that have been modified in the model but not saved. The decryption should occur immediately after getting _document.properties, and the encryption should occur in the -justSave: method on the result of propertiesToSave. You won't need to do any decryption in -attachmentDataToSave. That only accesses the document's _attachments property, which can't be encrypted because it's owned by Couchbase Lite itself and heavily used by the replicator. --Jens -- You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/F63BA004-90CF-4F4A-BBDC-2F12BADAECD4%40couchbase.com. For more options, visit https://groups.google.com/groups/opt_out.
