Click or drag to resize

DatabaseSetEncryptionKey Method

Sets the encryption key for the database. If null, encryption is removed.

Namespace:  Couchbase.Lite
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0364
Syntax
C#
public void SetEncryptionKey(
	EncryptionKey key
)

Parameters

key
Type: Couchbase.LiteEncryptionKey
The new key to encrypt the database with, or null to remove encryption
See Also