Database.SetEncryptionKey Method |
Sets the encryption key for the database. If null, encryption is
removed.
Namespace:
Couchbase.Lite
Assembly:
Couchbase.Lite (in Couchbase.Lite.dll) Version: 0.0.0
Syntaxpublic void SetEncryptionKey(
EncryptionKey key
)
Parameters
- key
- Type: Couchbase.Lite.EncryptionKey
The new key to encrypt the database with, or null
to remove encryption
See Also