Class: openpgp_config

openpgp_config

Implementation of the GPG4Browsers config object

new openpgp_config

This object contains configuration values and implements storing and retrieving configuration them from HTML5 local storage. This object can be accessed after calling openpgp.init() using openpgp.config Stored config parameters can be accessed using openpgp.config.config
Source:
  • openpgp.js, line 10250

Members

debug

if enabled, debug messages will be printed
Source:
  • openpgp.js, line 10289

default_config

the default config object which is used if no configuration was in place
Source:
  • openpgp.js, line 10257

Methods

<inner> read

reads the config out of the HTML5 local storage and initializes the object config. if config is null the default config will be used
Source:
  • openpgp.js, line 10276
Returns:
[void]

<inner> write

writes the config to HTML5 local storage
Source:
  • openpgp.js, line 10295
Returns:
[void]