security/manager/ssl/public/nsIIdentityInfo.idl

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     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 [scriptable, uuid(e9da87b8-b87c-4bd1-a6bc-5a9a2c7f6d8d)]
     8 interface nsIIdentityInfo : nsISupports
     9 {
    10   /**
    11    * A "true" value means:
    12    *   The object that implements this interface uses a certificate that
    13    *   was successfully verified as an Extended Validation (EV) cert.
    14    *   The test is bound to SSL Server Cert Usage.
    15    */
    16   readonly attribute boolean isExtendedValidation;
    18   /**
    19    * This function uses the same test as attribute
    20    *   isExtendedValidation
    21    *
    22    * If isExtendedValidation is true, this function will return
    23    * a policy identifier in dotted notation (like 1.2.3.4.5).
    24    *
    25    * If isExtendedValidation is false, this function will return
    26    * an empty (length string) value.
    27    */
    28   ACString getValidEVPolicyOid();
    29 };

mercurial