nsISupports
Last changed in Gecko 2.0 (Firefox 4 / Thunderbird 3.3 / SeaMonkey 2.1)AString decrypt(in AString cipherText); |
AString encrypt(in AString plainText); |
| Attribute | Type | Description |
isLoggedIn | boolean | Current login state of the token used for encryption. If the user is not logged in, performing a crypto operation will result in a master password prompt. Read only. |
uiBusy | boolean | true when a master password prompt is being displayed. Read only. |
Decrypts the specified string, returning the plain text value.
Can throw if the user cancels entry of their master password, or if the cipherText value can not be successfully decrypted (for example, if it was encrypted with some other key).
AString decrypt( in AString cipherText );
cipherTextThe decrypted string.
Encrypts the specified string, returning the ciphertext value.
Can throw if the user cancels entry of their master password.
AString encrypt( in AString plainText );
plainTextThe encrypted string.