73. GPGWidgets

UI widgets and functions related to GPG

73.1. Summary of Module Globals

List of Global Functions

List of Global Variables

    73.2. Global Functions

    73.2.1. AskPassphrasePopup

    Ask user to enter the passphrase for the selected gpg key. A a popup window is displayed.

    Function parameters

    • string key

    Return value

    • string - the entered passphrase or nil if the popup has been closed by [Cancel] button

    73.2.2. AskPassphraseWidget

    Return definition of the passphrase CWM widget.

    Function parameters

    • string key

    Return value

    • map<string, map<string,any> > - widget definition

    73.2.3. Passphrase

    Get the enterd passphrase.

    Return value

    • string - passphrase

    73.2.4. SelectedPrivateKey

    Return the selected private key in the private table widget

    Return value

    • string - key ID

    73.2.5. SetSelectedPrivateKey

    Set selected private key in the private key table widget.

    Function parameters

    • string keyid

    Return value

    • void

    73.2.6. SetSelectedPublicKey

    Set selected public key in the public key table widget.

    Function parameters

    • string keyid

    Return value

    • void

    73.2.7. Widgets

    Return a map with CWM widgets definition. The map contains definitions of all static CWM widgets.

    Return value

    • map<string,map<string,any> > - CWM widgets

    73.3. Global Variables

    73.4. Module Requirements

    73.4.1. Module Imports

    • CWM
    • CommandLine
    • GPG
    • Label
    • Mode

    73.4.2. Module Includes