security/manager/ssl/public/nsICertPickDialogs.idl

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/security/manager/ssl/public/nsICertPickDialogs.idl	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,30 @@
     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 +
    1.12 +/**
    1.13 + * nsICertPickDialogs
    1.14 + * Provides generic UI for choosing a certificate
    1.15 + */
    1.16 +[scriptable, uuid(51d59b08-1dd2-11b2-ad4a-a51b92f8a184)]
    1.17 +interface nsICertPickDialogs : nsISupports
    1.18 +{
    1.19 +  /**
    1.20 +   * PickCertificate
    1.21 +   *   General purpose certificate prompter
    1.22 +   */
    1.23 +  void PickCertificate(in nsIInterfaceRequestor ctx, 
    1.24 +                       [array, size_is(count)] in wstring certNickList,
    1.25 +                       [array, size_is(count)] in wstring certDetailsList,
    1.26 +                       in unsigned long count,
    1.27 +                       inout long selectedIndex,
    1.28 +                       out boolean canceled);
    1.29 +};
    1.30 +
    1.31 +%{C++
    1.32 +#define NS_CERTPICKDIALOGS_CONTRACTID "@mozilla.org/nsCertPickDialogs;1"
    1.33 +%}

mercurial