1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/security/manager/ssl/public/nsIGenKeypairInfoDlg.idl Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,34 @@ 1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this 1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.7 + 1.8 +#include "nsISupports.idl" 1.9 + 1.10 +interface nsIInterfaceRequestor; 1.11 +interface nsIKeygenThread; 1.12 + 1.13 +/** 1.14 + * nsIGeneratingKeypairInfoDialogs 1.15 + * This is the interface for giving feedback to the user 1.16 + * while generating a key pair. 1.17 + */ 1.18 +[scriptable, uuid(11bf5cdc-1dd2-11b2-ba6a-c76afb326fa1)] 1.19 +interface nsIGeneratingKeypairInfoDialogs : nsISupports 1.20 +{ 1.21 + void displayGeneratingKeypairInfo(in nsIInterfaceRequestor ctx, 1.22 + in nsIKeygenThread runnable); 1.23 +}; 1.24 + 1.25 +%{C++ 1.26 +/** 1.27 + * This component is to be implemented by the embeddor. It is used to show 1.28 + * feedback to the user while a private key is being generated. 1.29 + * 1.30 + * This component is only ever used on the UI thread. 1.31 + * 1.32 + * INTERFACES THAT NEED TO BE IMPLEMENTED: 1.33 + * nsIGeneratingKeypairInfoDialogs 1.34 + */ 1.35 +#define NS_GENERATINGKEYPAIRINFODIALOGS_CONTRACTID \ 1.36 + "@mozilla.org/nsGeneratingKeypairInfoDialogs;1" 1.37 +%}