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.
michael@0 | 1 | /* This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 2 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
michael@0 | 4 | |
michael@0 | 5 | #include "nsISupports.idl" |
michael@0 | 6 | |
michael@0 | 7 | interface nsISimpleEnumerator; |
michael@0 | 8 | interface nsIX509Cert; |
michael@0 | 9 | |
michael@0 | 10 | [scriptable, uuid(a539759b-e22d-462f-94ea-2915b11b33e8)] |
michael@0 | 11 | interface nsIX509CertList : nsISupports { |
michael@0 | 12 | void addCert(in nsIX509Cert cert); |
michael@0 | 13 | void deleteCert(in nsIX509Cert cert); |
michael@0 | 14 | nsISimpleEnumerator getEnumerator(); |
michael@0 | 15 | |
michael@0 | 16 | /* getRawCertList MUST be called only from functions where |
michael@0 | 17 | * the nssShutdownPreventionLock has been adquired. |
michael@0 | 18 | */ |
michael@0 | 19 | [notxpcom, noscript] voidPtr getRawCertList(); |
michael@0 | 20 | |
michael@0 | 21 | }; |
michael@0 | 22 | |
michael@0 | 23 | %{C++ |
michael@0 | 24 | |
michael@0 | 25 | #define NS_X509CERTLIST_CID { /* 959fb165-6517-487f-ab9b-d8913be53197 */ \ |
michael@0 | 26 | 0x959fb165, \ |
michael@0 | 27 | 0x6517, \ |
michael@0 | 28 | 0x487f, \ |
michael@0 | 29 | {0xab, 0x9b, 0xd8, 0x91, 0x3b, 0xe5, 0x31, 0x97} \ |
michael@0 | 30 | } |
michael@0 | 31 | |
michael@0 | 32 | #define NS_X509CERTLIST_CONTRACTID "@mozilla.org/security/x509certlist;1" |
michael@0 | 33 | |
michael@0 | 34 | %} |