EncryptionKey Class |
Namespace: Couchbase.Lite
public sealed class EncryptionKey
The EncryptionKey type exposes the following members.
Name | Description | |
---|---|---|
EncryptionKey |
Creates an instance with a random key.
| |
EncryptionKey(Byte) |
Creates an instance from existing key data.
| |
EncryptionKey(String) |
Creates an instance with a key derived from a password, using default salt and rounds.
| |
EncryptionKey(String, Byte, Int32) |
Creates an instance with a key derived from a password.
|
Name | Description | |
---|---|---|
HexData |
The key data encoded as hex.
| |
KeyData |
The SymmetricKey's key data; can be used to reconstitute it.
|
Name | Description | |
---|---|---|
Dispose | Releases all resources used by the EncryptionKey | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
DataSize |
Number of bytes in a 256-bit key
| |
EncryptedContentType |
The data type associated with encrypted content
|