Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
E
 encode
 encrypt, FireGPG.Api
 encrypt(text,priv_key_id), FireGPG
 EnigConvertFromUnicode
 EnigConvertGpgToUnicode
 EnigConvertToUnicode
 eraseSavedPassword
F
 fileExist
 fileSelector
 filter
 foundTheGoodId, FireGPG.cGmail
G
 generate_random_token, gpgAuth
 generateKey
 genKey
 genreate_api_key
 get, FireGPG.Selection
 getAccessList, FireGPG.Api
 getBaseArugments, FireGPGGPGAccess
 getBinContent
 getContent
 getContentXtttp
 getDataNode, FireGPG.Api
 getDiegestAlgo, FireGPGGPGAccess
 getDomain, FireGPG.Api
 getEnv, FireGPGGPGAccess
 getFileExtention, Base64
 getFrame, FireGPG.Selection
 getFromFile
 getGPGBonusCommand, FireGPGGPGAccess
 getGPGCommand, FireGPGGPGAccess
 getGPGCommentArgument, FireGPGGPGAccess
 getGPGTrustArgument, FireGPGGPGAccess
 getIgnored_servers
 getKeyServer
 getMailContent
 getMimeMailContens
 getPassword
 getPrivateKeyPassword
 getProxyInformation, FireGPGGPGAccess
 getReturnDataNode, FireGPG.Api
 getsavedPassword
 getSavedPassword
 getSelectedText
 getSelfKey
 getTheIframe, FireGPG.cGmail2
 getTheTextarea, FireGPG.cGmail2
 getTmpDir
 getTmpFile
 getToCcBccMail
 getWriteMailContent
 getWriteMailContentForDirectSend, FireGPG.cGmail2
 gmailWrapping
 GPGKey, FireGPG
 GPGReturn, FireGPG
H
 HandleBlock, FireGPG.Inline
 HandlePage, FireGPG.Inline
 hello, FireGPG.Api
 htmlEncode
encode: function (input,
bMode)
Encode to base6
encode: function(s)
Encode a text to utf8
encrypt: function (event)
Return ‘encrypt-ok’ in ‘result’ (or ‘encrypt-err’ is there is a problem) if makeing a ecnrypted text was successfull Return in ‘text’ the encrypted text
Encrypt a text and return the result in an object.
EnigConvertFromUnicode:function (text,
charset)
Convert the text, in unicode, into an string in the specified chaset.
EnigConvertGpgToUnicode:function (text)
Convert the gpg --with-collums text (who are strangly encoded) into a uniform Unicode string.
EnigConvertToUnicode:function (text,
charset)
Convert the text, in the specified chaset, into an Unicode string.
eraseSavedPassword:function ()
This erase the saved password :function (it’s for exemple when a sign failled)
fileExist:function (path)
Return true if a file exist
function fileSelector()
Open the file selected and return the choosen file.
function filter()
This function filter the key list, based on the current value of search-textbox.
foundTheGoodId: function(id)
Get the interal id of a mail based on this mail id of the page (Used by getMimeMailContens).
generate_random_token: function(e)
This is just a random string generator.
generateKey: function(silent,
name,
email,
comment,
password1,
password2,
keyneverexpire,
keyexpirevalue,
keyexpiretype,
keylength,
keytype)
Generate a new key
Generate a new key
function genKey()
Load the window to create a new ey
genreate_api_key:function ()
Generate and random string between 64 and 128 charactes, probably unique.
get: function()
Return current selection.
getAccessList: function()
Return the list of access
getBaseArugments: function (fromGpgAuth)
getBinContent:function (aURL,
maxData)
Get the content of a binary file
getContent:function (aURL)
Get the content of a resource form anywhere (like chrome://)
Get the content of a web resource by using a xmlhttprequest.
getDataNode: function(d)
Return the node with data attributes for return
getDiegestAlgo: function ()
Return the option to set diegest algo to use for signs hashs
getDomain: function(url)
Get the current domain for the page, or the webpage if we’re in local (file://)
getEnv: function()
Return environement parameters
getFileExtention:function (filename)
Return the extention of a file
getFrame: function(frames)
find a select in a frame
getFromFile:function (filename,
charset)
Get the content of a file
getGPGBonusCommand: function()
Return the custom arguement the user want to add.
getGPGCommand: function ()
Return the command to execute GnuPG
getGPGCommentArgument: function()
Return a arguement to add a gnupg comment.
getGPGTrustArgument: function (fromGpgAuth,
fromDTA)
Return a arguement to force gnupg to use not trusted keys.
function getIgnored_servers(parent)
This function have to be documented.
getKeyServer:function ()
Return the current key server
getMailContent: function(i)
Retrun the content of a mail
getMailContent: function(i,
doc)
Retrun the content of a mail, need the div object with the mail
getMimeMailContens: function(id)
Return the mime source of a mail
getMimeMailContens: function(id,
doc)
Return the mime source of a mail
getPassword:function (question,
save_password,
domain,
nosavecheckbox)
Show the generic dialog to get a password.
getPrivateKeyPassword:function (useSavedPassword *default =  true */,
domain *default =  false*/,
message *default =  false*/,
 nosavecheckbox  )
This uses getPassword:function () to get a password for a private key.
getProxyInformation: function ()
Return the option to set the proxy for keyservers
getReturnDataNode: function(d)
Return the node with data attributes for return
getsavedPassword:function ()
Return the saved password
getSavedPassword:function ()
function getSelectedText()
Return the current selected text of the editor.
getSelfKey:function (autoSelectPrivate)
who return a private key for the user :function (the default or the one selected in the list) null is returned if no key is selected.
getTheIframe: function(dDocument,
boutonxboxnode)
Return the iframe used to compose a mail
getTheTextarea: function(dDocument,
boutonxboxnode)
Return the textarea used to compose a mail
getTmpDir:function ()
Get the path of a tmp file.
getTmpFile:function (permission /* optional */,
 suffix_file)
Get an unique temporary file name.
getToCcBccMail: function(dDocument,
idMail)
Return the To, CC and BCC filds’ value of a mail in composition.
getToCcBccMail: function(dDocument,
boutonxboxnode,
onlyto,
onlycc,
onlybcc)
Return the To, CC and BCC filds’ value of a mail in composition.
getWriteMailContent: function(dDocument,
idMail)
Return the content of a mail in composition (his selection if something is selected)
getWriteMailContent: function(dDocument,
boutonxboxnode,
betterTextOnly,
forMime)
Return the content of a mail in composition (his selection if something is selected)
getWriteMailContentForDirectSend: function(dDocument,
boutonxboxnode)
Return the content of a mail in composition (his selection if something is selected)
gmailWrapping:function (text)
This fuction approximates gmail’s line-wrapping rules, so that a message can be wrapped before it’s signed, instead of after, which would break the signature.
FireGPG.GPGKey = function()
This function return a basic object, who represent a PGP key
FireGPG.GPGReturn = function()
This function return a basic object, with variable to return informations about a FireGPG’s operation
FireGPG.Inline.HandleBlock = function(document,
range,
blockType)
This function build a secure iframe for a PGP’s block, and add listeners for actions on this block
FireGPG.Inline.HandlePage = function(document)
This function parse a page to find PGP’s block.
hello: function (event)
Return ‘firegpg-ok’ in ‘result’ (useful to test firegpg’s api presence)
htmlEncode:function (s)
Encode special chars (&, <, > et “) to they html values.
Close