FireDAC.Phys.SQLite.TFDSQLiteSecurity.CheckEncryption
Delphi
function CheckEncryption: String;
C++
System::UnicodeString __fastcall CheckEncryption();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | FireDAC.Phys.SQLite.pas FireDAC.Phys.SQLite.hpp |
FireDAC.Phys.SQLite | TFDSQLiteSecurity |
Description
Returns the database encryption status.
Use the CheckEncryption method to get the database status. To perform the operation, Database and optionally Password must be specified.
The Password must be specified if the database is encrypted. The function returns:
Value | Description |
---|---|
<unencrypted> |
The database is not encrypted. |
One of the encryption modes. For example: aes-256. |
The database is encrypted and the correct password is specified. |
<encrypted> |
|
empty string |
Some other error happened at encryption checking. |