Show / Hide Table of Contents

Class EncryptionKey

Basic AES encryption. Uses a 256-bit (32-byte) key.

Inheritance
System.Object
EncryptionKey
Namespace: Couchbase.Lite
Assembly: Couchbase.Lite.dll
Syntax
public sealed class EncryptionKey : IDisposable
Remarks

NOTE: This is an enterprise edition feature

Constructors

| Improve this Doc View Source

EncryptionKey(Byte[])

Creates an instance from existing key data.

Declaration
public EncryptionKey(byte[] keyData)
Parameters
Type Name Description
System.Byte[] keyData

The derived key data to use

Remarks

NOTE: This is an enterprise edition feature

| Improve this Doc View Source

EncryptionKey(String)

Creates an instance with a key derived from a password, using default salt and rounds.

Declaration
public EncryptionKey(string password)
Parameters
Type Name Description
System.String password

The password to derive the key from

Remarks

NOTE: This is an enterprise edition feature

Methods

| Improve this Doc View Source

Dispose()

Declaration
public void Dispose()
  • Improve this Doc
  • View Source
Back to top Generated by DocFX