security/manager/ssl/public/nsIClientAuthDialogs.idl

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

     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/. */
     5 #include "nsISupports.idl"
     7 interface nsIInterfaceRequestor;
     9 /**
    10  * nsIClientAuthDialog
    11  * Provides UI for SSL client-auth dialogs.
    12  */
    13 [scriptable, uuid(fa4c7520-1433-11d5-ba24-00108303b117)]
    14 interface nsIClientAuthDialogs : nsISupports
    15 {
    16   /**
    17    * display
    18    *   UI shown when a user is asked to do SSL client auth.
    19    */
    20   void ChooseCertificate(in nsIInterfaceRequestor ctx, 
    21                         in wstring cn,
    22                         in wstring organization,
    23                         in wstring issuer,
    24                         [array, size_is(count)] in wstring certNickList,
    25                         [array, size_is(count)] in wstring certDetailsList,
    26                         in unsigned long count,
    27                         out long selectedIndex,
    28                         out boolean canceled);
    29 };
    31 [scriptable, uuid(95c4373e-bdd4-4a63-b431-f5b000367721)]
    32 interface nsIClientAuthUserDecision : nsISupports
    33 {
    34   attribute boolean rememberClientAuthCertificate;
    35 };
    37 %{C++
    38 #define NS_CLIENTAUTHDIALOGS_CONTRACTID "@mozilla.org/nsClientAuthDialogs;1"
    39 %}

mercurial