Name Description Size
armor.sys.mjs Locates string in text occurring only at the beginning of a line. 9080
CollectedKeysDB.sys.mjs Database of collected OpenPGP keys. 10950
constants.sys.mjs taken over from old nsIEnigmail 5284
core.sys.mjs Initialize the main parts of Enigmail 1811
data.sys.mjs Encode a string in base64, with a max. line length of 72 characters 1151
decryption.sys.mjs eslint-disable complexity 18928
dialog.sys.mjs Displays a dialog with success/failure information after importing keys. @param {window} win - Parent window to display modal dialog; can be null @param {string} keyList - Imported keyIDs. @returns {integer} the button number pressed. 0-2. -1: ESC or close window button pressed. 2079
encryption.sys.mjs @returns {?object} object on success, null on failure 12463
filters.sys.mjs Filter action for creating a decrypted version of the mail and deleting the original mail at the same time. 13857
filtersWrapper.sys.mjs filter action for creating a decrypted version of the mail and deleting the original mail at the same time 4885
fixExchangeMsg.sys.mjs Fix a broken message from MS-Exchange and replace it with the original message @param {nsIMsgDBHdr} hdr - Header of the message to fix (= pointer to message) @param {string} brokenByApp - Type of app that created the message. Currently one of exchange, iPGMail. @param {string} [destFolderUri] - Destination folder URI. @returns {Promise<nsMsgKey>} 10445
funcs.sys.mjs Common Enigmail crypto-related GUI functionality 13497
GPGME.sys.mjs High level interface to retrieve public keys from GnuPG that contain a user ID that matches the given email address. @param {string} email - The email address to search for. @returns {Map} - a Map that contains ASCII armored key blocks indexed by fingerprint. 10222
GPGMELib.sys.mjs 14699
key.sys.mjs eslint-enable valid-jsdoc 8730
keyLookupHelper.sys.mjs Internal helper function, search for keys by either keyID or email address on a keyserver. Returns additional flags regarding lookup and import. Will never show feedback prompts. @param {string} mode - "interactive-import" or "silent-collection" In interactive-import mode, the user will be asked to confirm import of keys into the permanent keyring. In silent-collection mode, only updates to existing keys will be imported. New keys will only be added to CollectedKeysDB. @param {nsIWindow} window - parent window @param {string} identifier - search value, either key ID or fingerprint or email address. @returns {object} flags @returns {boolean} flags.keyImported - At least one key was imported. @returns {boolean} flags.foundUpdated - At least one update for a local existing key was found and imported. @returns {boolean} flags.foundUnchanged - All found keys are identical to already existing local keys. @returns {boolean} flags.collectedForLater - At least one key was added to CollectedKeysDB. 13187
keyObj.sys.mjs Key object. 17167
keyRing.sys.mjs @typedef KeyList @property {EnigmailKeyObj[]} keyList @property {object[]} keySortList - Used for quickly sorting the keys. @property {string} keySortList[].userId - User ID in lower case. @property {string} keySortList[].keyId - Key ID. @property {integer} keySortList[].keyNum 59700
keyserver.sys.mjs @typedef {object} KeySrvListener @property {?function(integer):void} onProgress - Only implemented for download(). @property {Function} onCancel - The body will be set by the callee. 42879
keyserverUris.sys.mjs 923
masterpass.sys.mjs 10566
mime.sys.mjs create a string of random characters suitable to use for a boundary in a MIME message following RFC 2045 @return: string to use as MIME boundary @see {MimeMultiPart._makePartSeparator} 7890
mimeDecrypt.sys.mjs Module for handling PGP/MIME encrypted messages. 24520
mimeEncrypt.sys.mjs Module for creating PGP/MIME signed and/or encrypted messages. 17654
MimeTree.sys.mjs @typedef {object} MimeTreePart - A mime part generated by jsmime using the MimeTreeEmitter. @property {string} partNum @property {Map} headers - A Map, containing all headers. Special headers for contentType and charset. @property {integer} size - Size of this part, including all subparts. @property {string} body - Body @property {string} [name] - The name, if this part is an attachment. @property {boolean} [isAttachment] - The part is an attachment. @property {MimeTreePart[]} subParts - Array of MimeTreePart with sub parts 38478
mimeVerify.sys.mjs Module for handling PGP/MIME signed messages. 18115
msgRead.sys.mjs eslint-enable valid-jsdoc 6843
OpenPGPAlias.sys.mjs 4483
persistentCrypto.sys.mjs Decrypts a message and copy it to a folder. If targetKey is not null, it encrypts a message to the target key afterwards. @param {nsIMsgDBHdr} hdr - Message to process. @param {string} destFolder - Target folder URI. @param {boolean} move - true for move, false for copy. @param {KeyObject} targetKey - Target key if encryption is requested. @returns {nsMsgKey} message key of the new message. 10885
RNP.sys.mjs Opens a prompt, asking the user to enter passphrase for given key id. @param {?nsIWindow} win - Parent window, may be null @param {string} promptString - This message will be shown to the user @param {object} resultFlags - Attribute .canceled is set to true if the user clicked cancel, other it's set to false. @returns {string} - The passphrase the user entered 166170
RNPLib.sys.mjs 53184
singletons.sys.mjs Remember the given uri in our list of recently seen uris that contain a nested signed part. @param {string} uri - The URI spec to remember. 2202
sqliteDb.sys.mjs Module that provides generic functions for the OpenPGP SQLite database. 12996
streams.sys.mjs Create a new channel from a URL or URI. @param {string|nsIURI|nsIFile} url - URL specification. @returns {nsIChannel} 4220
trust.sys.mjs @returns {string} string containing the order of trust/validity values 2974
uris.sys.mjs Determine message number and folder from mailnews URI. @param {nsIURI} url - nsIURI of the message. @returns {?object} obj @returns {string} obj.msgNum - The message number, or "" if no URI scheme fits. @returns {string} obj.folder - The folder (or newsgroup) name. 2054
windows.sys.mjs Determine the best possible window to serve as parent window for dialogs. @returns {?window} 2274
wkdLookup.sys.mjs Lookup keys by email addresses using WKD. A an email address is lookep up at most once a day. (see https://tools.ietf.org/html/draft-koch-openpgp-webkey-service) 7466
zbase32.sys.mjs eslint no-invalid-this: 0 2297