WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.
nsIKeyObject
| IID: | 4b31f4ed-9424-4710-b946-79b7e33cf3a8 |
| Inherits From: | nsISupports |
This interface is implemented by the following components:
Constants
| PRInt16 | SYM_KEY | = 1 |
| PRInt16 | PRIVATE_KEY | = 2 |
| PRInt16 | PUBLIC_KEY | = 3 |
| PRInt16 | RC4 | = 1 |
| PRInt16 | AES_CBC | = 2 |
Methods
[noscript] voidPtr* getKeyObj ( )
PRInt16 getType ( )
[noscript] void initKey ( PRInt16 algorithm , voidPtr* key )
References
This interface is passed as an argument to the following methods:
nsIStreamCipher.init, nsIStreamCipher.initWithIV
This interface is returned from the following methods:
nsIKeyObjectFactory.keyFromString, nsIKeyObjectFactory.lookupKeyByName, nsIKeyObjectFactory.unwrapKey
Reference documentation is generated from Mozilla's source.
