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