Valid base64 chars
_keyStr : "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/
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 )
The counter before user can validate access
var counter
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 )
The folder of Firefox
FireGPG.Const.CurrentFolder