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
$#!
 _utf8_decode, Base64
 _utf8_encode, Base64
A
 addBouton, FireGPG.cGmail
 addComposeBoutons, FireGPG.cGmail
 addFireGPGContextMenu, firegpgdownloader
 addUid
 apiRemoveMySelf
 auth, FireGPG.Api
 autoWrapRemoveMySelf
C
 callBack
 can
 canIBeExecutedHere, FireGPG.Inline
 cannot
 canRegister, FireGPG.Api
 changePassword
 changeTrust
 check, FireGPG.Api
 checkDoc, FireGPG.cGmail2
 checkTheAutoSelect
 chooseGPGPath
 choosePrivateKey
 choosePublicKey
 clickOnDock, FireGPG.cGmail2
 computeHash
 convertCRLFToStandarts
 CreateTreeItemKey
 CreateTreeItemKey2
 CreateTreeItemKey3
 crypt
 cryptandsign
 cryptAndSign
D
 dcrypt
 debug, FireGPG
 decode
 decraseCounter
 decrypt
 DecryptMessage, FireGPG.Inline
 decryptUserToken, gpgAuth
 deleteKey
 delUid
 denyRegister, FireGPG.Api
 directorySelector
 doServerTests, gpgAuth
 dump2
 dumper
_utf8_decode :function (utftext)
Decode string from utf8
_utf8_encode:function (string)
Encode a string to utf8
addBouton: function(label,
id,
box,
Ddocument,
info1)
This function create a html button at the end of a node.
addComposeBoutons: function(box,
Ddocument,
info1)
This function add compose boutons (sign, sign and send, ...)
addFireGPGContextMenu: function(menu,
event)
Add the FireGPG ContactMenu (if should be showed...)
addUid: function (silent,
key,
name,
email,
comment,
password)
Add a new identity to a key
addUid: function(key,
name,
email,
comment,
password)
Add a new identity to a key
function apiRemoveMySelf(item)
Remove an auth key of the api
auth: function (event)
Return ‘auth-ok’ in ‘result’ (or ‘auth-fail’ is the website have rights to use the api
function autoWrapRemoveMySelf(item)
Remove an auto action for autowrap
callBack: function(id,
info1)
This create a function who is called when a button (or a link) is pressed.
callBack: function(doc)
This function create a function witch is called when the user click on a button
function can()
Lets the selected thing to use the api and return the api key
FireGPG.Inline.canIBeExecutedHere = function(aUrl)
Return true if we should handle pgp blocks on a page First, we use preferences for page, then domains, then global.
function cannot()
For the selected thing to be ignored in the futur
canRegister: function(theLocation)
Return true if the user have right to try toregister to use FireGPG’s api
changePassword: function(silent,
key,
oldpass,
newpass)
Change password of a key
changePassword: function(key,
oldpass,
newpass)
Change password of a key
changeTrust: function(silent,
key,
trustLevel)
Change trust of a key
changeTrust: function(key,
trustLevel)
Change trust of a key
check: function (event)
Return ‘check-ok’ in ‘result’ (or ‘check-err’ is there is a problem) if the sign is valid.
checkDoc: function(id,
retry)
This function check a document for sign and button to add on a page.
function checkTheAutoSelect()
This function select the key present in listOfAutoSelect
function chooseGPGPath()
Set a new path to GPG
choosePrivateKey:function (preSelect)
Show a dialog (list.xul) to choose a private key.
choosePublicKey: function(preSelect)
Show a dialog (list.xul) to choose a list of public keys (array).
clickOnDock: function(docid)
This function is called when the user click on the page.
computeHash: function(silent,
hash,
file)
Compute hash of a file
computeHash: function(hash,
file)
Compute hash of a file
convertCRLFToStandarts:function (text)
Convert CR to CRLF, LF to CRLF and keep CRLF
CreateTreeItemKey:function (key,
document,
forceId)
Return a Treeitem for the key in parameter
CreateTreeItemKey2:function (key,
document,
forceId,
privateKey,
subkey)
Return a Treeitem for the key in parameter
CreateTreeItemKey3:function (key,
document,
mainKey,
sign,
havePrivate)
Return a Treeitem for the key in parameter
function crypt()
Encrypt the current data of the editor.
crypt: function(silent,
text,
keyIdList,
fromGpgAuth,
binFileMode,
autoSelect,
symetrical,
password,
fileMode,
fileFrom,
fileTo)
Function to encrypt a text.
crypt: function(text,
keyIdList,
fromGpgAuth,
binFileMode,
fileMode,
fileFrom,
fileTo)
Encrypt a text.
function cryptandsign()
Encrypt and sign the current data of the editor.
cryptAndSign: function(silent,
text,
keyIdList,
fromGpgAuth,
password,
keyID,
binFileMode,
autoSelect,
autoSelectPrivate,
fileMode,
fileFrom,
fileTo)
Function to encrypt and sign a text.
cryptAndSign: function(text,
keyIdList,
fromGpgAuth,
password,
keyID,
binFileMode,
fileMode,
fileFrom,
fileTo)
Encrypt and sign a text.
function dcrypt()
Decrypt the current data of the editor.
FireGPG.debug = function(message,
debugCode,
fatal)
Check if debuggin is enabled and if yes show up messages in console
decode : function (input,
bMode)
Decode a base64 string
decode: function(s)
Decode a utf8 text
function decraseCounter()
Decrase the counter who force user to read what it’s written
decrypt: function(silent,
text,
password,
binFileEncoded,
fileMode,
fileFrom,
fileTo,
api)
Function to decrypt a text.
decrypt: function (event)
Return ‘decrypt-ok’ in ‘result’ (or ‘decrypt-err’ is there is a problem) if trying to decrypt a text was successfull Return in ‘text’ the decrypted text
decrypt: function(text,
password,
binFileMode,
fileMode,
fileFrom,
fileTo)
Decrypt a text.
FireGPG.Inline.DecryptMessage = function(content,
block)
This is the function called when the user click on “Decrypt” for a PGP’s encrypted message block
decryptUserToken: function(UTK_ELM,
e)
This function is called to decrypt the data sent by the server that is encrypted with the users public key
deleteKey: function(silent,
key)
Delete a key (!)
deleteKey: function(key)
Delete a key (!)
delUid: function (silent,
key,
uid)
Delete an identity of a key
delUid: function(key,
uid)
Delete an identity of a key
denyRegister: function(theLocation,
type)
Deny futur registrations from a domain|website|page
function directorySelector()
Open the file selected and return the choosen file.
doServerTests: function(STK_ELM,
UTK_ELM,
event)
This function validates the server against the users keyring by encrypting a random token to the public key on file for the given domain.
dump2:function (o)
Show an array or an object in a console
dumper:function (arr,
level)
This function was inspired by the print_r function of PHP.
Close