Manages the encryption keys for a database.
| C# |
public class Encryption
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| Encryption(Database) |
Creates a new instance.
| |
| AdapterFactory |
Adapter factory for the database.
| |
| Database |
Database whose encryption keys are managed by this instance.
| |
| DeleteKey(String) |
Deletes the key with the specified key name from the database.
| |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GenerateNewKeyPair(String, String, IWin32Window) |
Generates a new encryption key, saves it to the specified file, and imports it into the database.
| |
| GetHashCode()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| ImportKey(String, String, Boolean) |
Imports an encryption key from the specified file using the specified name.
| |
| MemberwiseClone()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| PromptUseKeySecurity(IWin32Window) |
Asks the user whether to be prompted for authorization to use the key (one prompt per application session).
| |
| ShowDeleteKeyDialog(IWin32Window, String) |
Prompts the user to confirm deletion of the specified key.
| |
| ShowGenerateKeyDialog(IWin32Window) |
Shows a dialog allowing the user to generate and save a key.
| |
| ShowGenerateKeyDialog(IWin32Window, String) |
Shows a dialog allowing the user to generate and save a key.
| |
| ShowImportKeyDialog(IWin32Window) |
Shows a dialog allowing the user to import keys.
| |
| ToString()()() | (Inherited from Object.) |
| Object | |
| Encryption | |