FireDAC.Phys.SQLite.TFDSQLiteSecurity.CheckEncryption

From RAD Studio API Documentation
Jump to: navigation, search

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>

  • The database is probably encrypted, but the specified password is not correct.
  • The file is not an SQLite database.

empty string

Some other error happened at encryption checking.

See Also