IBX.IBServices.TIBConfigService.CreateEncryptionKey

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

procedure CreateEncryptionKey(keyname : String; Default : Boolean;  EncryptType : TIBEncryptionTypes; WithLength : integer; Password : String; RandomInitvector : Boolean;  RandomPad : Boolean; Description : String);

C++

void __fastcall CreateEncryptionKey(System::UnicodeString keyname, bool Default, TIBEncryptionTypes EncryptType, int WithLength, System::UnicodeString Password, bool RandomInitvector, bool RandomPad, System::UnicodeString Description);

プロパティ

種類 可視性 ソース ユニット
procedure
function
public
IBX.IBServices.pas
IBX.IBServices.hpp
IBX.IBServices TIBConfigService


説明

暗号化キー名を(デフォルトで)、DES(Data Encryption Standard)と AES(Advanced Encryption Standard)のどちらかで作成します。

次は簡単な例です:

CreateEncryptionKey(‘payroll_key’, DES, 0, ‘’, false, false, ‘’);

利用可能なオプションをすべて使用して暗号化キーを作成すると、次のような構文になります:

CreateEncryptionKey keyname [デフォルトで] [{AES | DES} に対して] [[bits] のビット数で] [password {'ユーザー パスワード' | システム暗号化パスワード}] [init_vector {NULL | random}] [pad {NULL | random}] [description ‘何らかのユーザー説明’]

CreateEncryptionKey は、SYSDSO ユーザーのみが使用できます。

InterBase の暗号化に関する詳細情報については、『InterBase データ定義ガイド』の「暗号化キーの作成」を参照してください。

関連項目