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:
- config/openpgp.config.js, line 30
Members
-
config
-
The variable with the actual configuration
- Source:
- config/openpgp.config.js, line 42
Properties:
Name Type Description prefer_hash_algorithmInteger encryption_cipherInteger compressionInteger show_versionBoolean show_commentBoolean integrity_protectBoolean composition_behaviorInteger keyserverString -
debug
-
If enabled, debug messages will be printed
- Source:
- config/openpgp.config.js, line 79
-
default_config
-
The default config object which is used if no configuration was in place
- Source:
- config/openpgp.config.js, line 48
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:
- config/openpgp.config.js, line 66
-
<inner> write()
-
Writes the config to HTML5 local storage
- Source:
- config/openpgp.config.js, line 84