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:

Members

config

The variable with the actual configuration
Properties:
Name Type Description
prefer_hash_algorithm Integer
encryption_cipher Integer
compression Integer
show_version Boolean
show_comment Boolean
integrity_protect Boolean
composition_behavior Integer
keyserver String
Source:

debug

If enabled, debug messages will be printed
Source:

default_config

The default config object which is used if no configuration was in place
Source:

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:

<inner> write()

Writes the config to HTML5 local storage
Source: