C# Класс KeeTrayTOTP.KeeTrayTOTPExt

Main Plugin Class
Наследование: KeePass.Plugins.Plugin
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
MainWindow_Shown void
OnEntryMenuOpening void
OnEntryMenuSetupClick void
OnEntryMenuTOTPClick void
OnMenuAboutClick void
OnMenuHelpClick void
OnMenuSettingsClick void
OnNotifyMenuOpening void
OnTimerTick void
SeedCheck bool
SeedGet KeePassLib.Security.ProtectedString
SeedValidate bool
SeedValidate bool
SettingsCheck bool
SettingsGet string[]
SettingsValidate bool
SettingsValidate bool
SettingsValidate bool
SprEngine_FilterCompile void
TOTPCopyToClipboard void

Открытые методы

Метод Описание
Initialize ( IPluginHost host ) : bool

Initialization of the plugin, adding menus, handlers and forms.

Terminate ( ) : void

Removes all ressources such as menus, handles and forms from KeePass.

Приватные методы

Метод Описание
MainWindow_Shown ( object sender, EventArgs e ) : void

Occurs when the main window is shown.

OnEntryMenuOpening ( object sender, CancelEventArgs e ) : void

Entry Context Menu Opening.

OnEntryMenuSetupClick ( object sender, EventArgs e ) : void

Entry Context Menu Setup Click.

OnEntryMenuTOTPClick ( object sender, EventArgs e ) : void

Entry Context Menu Copy Click.

OnMenuAboutClick ( object sender, EventArgs e ) : void

Tools Menu Tray TOTP About Click.

OnMenuHelpClick ( object sender, EventArgs e ) : void

Tools Menu Tray TOTP Help Click.

OnMenuSettingsClick ( object sender, EventArgs e ) : void

Tools Menu Tray TOTP Settings Click.

OnNotifyMenuOpening ( object sender, CancelEventArgs e ) : void

Notify Icon Context Menu Opening.

OnTimerTick ( object sender, EventArgs e ) : void

Timer Event that occurs to refresh the entry list.

SeedCheck ( PwEntry pe ) : bool

Check if the specified Entry contains a Seed.

SeedGet ( PwEntry pe ) : ProtectedString

Get the entry's Seed using the string name specified in the settings (or default).

SeedValidate ( PwEntry PasswordEntry ) : bool

Validates the entry's Seed making sure it's a valid Base32 string.

SeedValidate ( PwEntry PasswordEntry, string &InvalidChars ) : bool

Validates the entry's Seed making sure it's a valid Base32 string. Invalid characters are available as out string.

SettingsCheck ( PwEntry pe ) : bool

Check if specified Entry contains Settings that are not null.

SettingsGet ( PwEntry pe ) : string[]

Get the entry's Settings using the string name specified in the settings (or default).

SettingsValidate ( PwEntry pe ) : bool

Check if specified Entry's Interval and Length are valid.

SettingsValidate ( PwEntry pe, bool &IsUrlValid ) : bool

Check if specified Entry's Interval and Length are valid. The URL status is available as an out boolean.

SettingsValidate ( PwEntry pe, bool &IsIntervalValid, bool &IsLengthValid, bool &IsUrlValid ) : bool

Check if specified Entry's Interval and Length are valid. All settings statuses are available as out booleans.

SprEngine_FilterCompile ( object sender, KeePass.Util.Spr.SprEventArgs e ) : void

Auto-Type Function.

TOTPCopyToClipboard ( PwEntry pe ) : void

Copies the specified entry's generated TOTP to the clipboard using the KeePass's clipboard function.

Описание методов

Initialize() публичный Метод

Initialization of the plugin, adding menus, handlers and forms.
public Initialize ( IPluginHost host ) : bool
host IPluginHost Plugin host for access to KeePass functions.
Результат bool

Terminate() публичный Метод

Removes all ressources such as menus, handles and forms from KeePass.
public Terminate ( ) : void
Результат void