nsIGenKeypairInfoDlg.idl 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. /* This Source Code Form is subject to the terms of the Mozilla Public
  2. * License, v. 2.0. If a copy of the MPL was not distributed with this
  3. * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
  4. #include "nsISupports.idl"
  5. interface nsIInterfaceRequestor;
  6. interface nsIKeygenThread;
  7. /**
  8. * nsIGeneratingKeypairInfoDialogs
  9. * This is the interface for giving feedback to the user
  10. * while generating a key pair.
  11. */
  12. [scriptable, uuid(11bf5cdc-1dd2-11b2-ba6a-c76afb326fa1)]
  13. interface nsIGeneratingKeypairInfoDialogs : nsISupports
  14. {
  15. void displayGeneratingKeypairInfo(in nsIInterfaceRequestor ctx,
  16. in nsIKeygenThread runnable);
  17. };
  18. %{C++
  19. /**
  20. * This component is to be implemented by the embeddor. It is used to show
  21. * feedback to the user while a private key is being generated.
  22. *
  23. * This component is only ever used on the UI thread.
  24. *
  25. * INTERFACES THAT NEED TO BE IMPLEMENTED:
  26. * nsIGeneratingKeypairInfoDialogs
  27. */
  28. #define NS_GENERATINGKEYPAIRINFODIALOGS_CONTRACTID \
  29. "@mozilla.org/nsGeneratingKeypairInfoDialogs;1"
  30. %}