Linux Mac OSX Windows

Implemented by


  
[scriptable, uuid(4b31f4ed-9424-4710-b946-79b7e33cf3a8)]
interface nsIKeyObject : nsISupports

Constants


        
const short SYM_KEY = 1

        
const short PRIVATE_KEY = 2

        
const short PUBLIC_KEY = 3

        
const short RC4 = 1

        
const short AES_CBC = 2

        
const short HMAC = 257

Methods


        
[noscript] voidPtr getKeyObj()

        
short getType()

        
[noscript] void initKey(in short aAlgorithm, in voidPtr aKey)