Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
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 };