74. GPGWidgets

UI widgets and functions related to GPG

74.1. Summary of Module Globals

List of Global Functions

List of Global Variables

    74.2. Global Functions

    74.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

    74.2.2. AskPassphraseWidget

    Return definition of the passphrase CWM widget.

    Function parameters

    • string key

    Return value

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

    74.2.3. Passphrase

    Get the enterd passphrase.

    Return value

    • string - passphrase

    74.2.4. SelectedPrivateKey

    Return the selected private key in the private table widget

    Return value

    • string - key ID

    74.2.5. SetSelectedPrivateKey

    Set selected private key in the private key table widget.

    Function parameters

    • string keyid

    Return value

    • void

    74.2.6. SetSelectedPublicKey

    Set selected public key in the public key table widget.

    Function parameters

    • string keyid

    Return value

    • void

    74.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

    74.3. Global Variables

    74.4. Module Requirements

    74.4.1. Module Imports

    • CWM
    • CommandLine
    • GPG
    • Label
    • Mode

    74.4.2. Module Includes