|
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/. */ |
|
4 |
|
5 #include "nsISupports.idl" |
|
6 |
|
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; |
|
17 |
|
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 }; |
|
30 |