Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsIKeygenThread Interface Reference

nsIKeygenThread This is used to communicate with the thread generating a key pair, to be used by the dialog displaying status information. More...

import "nsIKeygenThread.idl";

Inheritance diagram for nsIKeygenThread:
Inheritance graph
[legend]
Collaboration diagram for nsIKeygenThread:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void startKeyGeneration (in nsIObserver observer)
 startKeyGeneration - run the thread A user interface using this interface needs to call this method as soon as the status information is displaying.
void userCanceled (out boolean threadAlreadyClosedDialog)
 userCanceled - notify the thread If the user canceled, the thread is no longer allowed to close the dialog.

Detailed Description

nsIKeygenThread This is used to communicate with the thread generating a key pair, to be used by the dialog displaying status information.

Definition at line 49 of file nsIKeygenThread.idl.


Member Function Documentation

startKeyGeneration - run the thread A user interface using this interface needs to call this method as soon as the status information is displaying.

This will trigger key generation. To allow the closure of the status information, the thread needs a handle to an observer.

observer will be called on the UI thread. When the key generation is done, the observe method will be called with a topic of "keygen-finished" and null data and subject.

void nsIKeygenThread::userCanceled ( out boolean  threadAlreadyClosedDialog)

userCanceled - notify the thread If the user canceled, the thread is no longer allowed to close the dialog.

However, if the thread already closed it, we are not allowed to close it.


The documentation for this interface was generated from the following file: