DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Mercurial (273c3db836e1)

VCS Links

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

Headers = [
    '/security/manager/ssl/nsNSSModule.h',
]

Classes = [
    {
        'cid': '{4cb64dfd-ca98-4e24-befd-0d9285a33bcb}',
        'contract_ids': ['@mozilla.org/psm;1'],
        'type': 'nsNSSComponent',
        'headers': ['nsNSSComponent.h'],
        'init_method': 'Init',
    },
    {
        'cid': '{c94f4a30-64d7-11d4-9960-00b0d02354a0}',
        'contract_ids': [
            '@mozilla.org/security/psmdownload;1',
            '@mozilla.org/uriloader/psm-external-content-listener;1',
        ],
        'type': 'mozilla::psm::PSMContentListener',
        'headers': ['mozilla/psm/PSMContentListener.h'],
        'init_method': 'init',
        'categories': {
            'external-uricontentlisteners': [
                'application/x-x509-ca-cert',
                'application/x-x509-email-cert',
                'application/x-x509-server-cert',
                'application/x-x509-user-cert',
            ],
        },
    },
    {
        'cid': '{9ef18451-a157-4d17-8132-47afef213689}',
        'contract_ids': ['@mozilla.org/nss_errors_service;1'],
        'type': 'mozilla::psm::NSSErrorsService',
        'headers': ['NSSErrorsService.h'],
        'init_method': 'Init',
    },
    {
        'cid': '{23ad3531-11d2-4e8e-805a-6a752e91681a}',
        'contract_ids': ['@mozilla.org/security/nssversion;1'],
        'type': 'nsNSSVersion',
        'headers': ['/security/manager/ssl/nsNSSVersion.h'],
    },
    {
        'cid': '{cc75499a-1dd1-11b2-8a82-ca410ac907b8}',
        'contract_ids': ['@mozilla.org/secure_browser_ui;1'],
        'type': 'nsSecureBrowserUIImpl',
        'headers': ['/security/manager/ssl/nsSecureBrowserUIImpl.h'],
    },
    {
        'cid': '{47402be2-e653-45d0-8daa-9f0dce0ac148}',
        'contract_ids': ['@mozilla.org/security/local-cert-service;1'],
        'type': 'mozilla::LocalCertService',
        'headers': ['/security/manager/ssl/LocalCertService.h'],
    },
    {
        'cid': '{0c4f1ddc-1dd2-11b2-9d95-f2fdf113044b}',
        'contract_ids': ['@mozilla.org/security/sdr;1'],
        'type': 'SecretDecoderRing',
        'legacy_constructor': 'mozilla::psm::NSSConstructor<SecretDecoderRing>',
    },
    {
        'cid': '{b084a2ce-1dd1-11b2-bf10-8324f8e065cc}',
        'contract_ids': ['@mozilla.org/security/pk11tokendb;1'],
        'type': 'nsPK11TokenDB',
        'legacy_constructor': 'mozilla::psm::NSSConstructor<nsPK11TokenDB>',
    },
    {
        'cid': '{ff9fbcd7-9517-4334-b97a-ceed78909974}',
        'contract_ids': ['@mozilla.org/security/pkcs11moduledb;1'],
        'type': 'mozilla::psm::PKCS11ModuleDB',
        'legacy_constructor': 'mozilla::psm::NSSConstructor<mozilla::psm::PKCS11ModuleDB>',
    },
    {
        'cid': '{660a3226-915c-4ffb-bb20-8985a632df05}',
        'contract_ids': [],
        'type': 'nsNSSCertificate',
        'legacy_constructor': 'mozilla::psm::NSSConstructor<nsNSSCertificate>',
    },
    {
        'cid': '{fb0bbc5c-452e-4783-b32c-80124693d871}',
        'contract_ids': ['@mozilla.org/security/x509certdb;1'],
        'type': 'nsNSSCertificateDB',
        'legacy_constructor': 'mozilla::psm::NSSConstructor<nsNSSCertificateDB>',
    },
    {
        'cid': '{959fb165-6517-487f-ab9b-d8913be53197}',
        'contract_ids': ['@mozilla.org/security/x509certlist;1'],
        'type': 'nsNSSCertList',
        'legacy_constructor': 'mozilla::psm::NSSConstructor<nsNSSCertList>',
    },
    {
        'cid': '{36a1d3b3-d886-4317-96ff-87b0005cfef7}',
        'contract_ids': ['@mozilla.org/security/hash;1'],
        'type': 'nsCryptoHash',
        'legacy_constructor': 'mozilla::psm::NSSConstructor<nsCryptoHash>',
    },
    {
        'cid': '{a496d0a2-dff7-4e23-bd65-1ca742fa178a}',
        'contract_ids': ['@mozilla.org/security/hmac;1'],
        'type': 'nsCryptoHMAC',
        'legacy_constructor': 'mozilla::psm::NSSConstructor<nsCryptoHMAC>',
    },
    {
        'cid': '{9d383ddd-6856-4187-8485-f36195b29a0e}',
        'contract_ids': ['@mozilla.org/security/keyobject;1'],
        'type': 'nsKeyObject',
        'legacy_constructor': 'mozilla::psm::NSSConstructor<nsKeyObject>',
    },
    {
        'cid': '{2a35dd47-b026-4e8d-b6b7-5740f61ab902}',
        'contract_ids': ['@mozilla.org/security/keyobjectfactory;1'],
        'type': 'nsKeyObjectFactory',
        'legacy_constructor': 'mozilla::psm::NSSConstructor<nsKeyObjectFactory>',
    },
    {
        'cid': '{45a5fe2f-c350-4b86-962d-02d5aaaa955a}',
        'contract_ids': ['@mozilla.org/security/contentsignatureverifier;1'],
        'type': 'ContentSignatureVerifier',
        'legacy_constructor': 'mozilla::psm::NSSConstructor<ContentSignatureVerifier>',
    },
    {
        'cid': '{67ba681d-5485-4fff-952c-2ee337ffdcd6}',
        'contract_ids': ['@mozilla.org/security/certoverride;1'],
        'type': 'nsCertOverrideService',
        'legacy_constructor': 'mozilla::psm::NSSConstructor<nsCertOverrideService>',
    },
    {
        'cid': '{be65e2b7-fe46-4e0f-88e0-4b385db4d68a}',
        'contract_ids': ['@mozilla.org/security/random-generator;1'],
        'type': 'nsRandomGenerator',
        'legacy_constructor': 'mozilla::psm::NSSConstructor<nsRandomGenerator>',
    },
    {
        'cid': '{16786594-0296-4471-8096-8f84497ca428}',
        'contract_ids': ['@mozilla.org/security/transportsecurityinfo;1'],
        'type': 'mozilla::psm::TransportSecurityInfo',
        'legacy_constructor':
        'mozilla::psm::NSSConstructor<mozilla::psm::TransportSecurityInfo>',
    },
    {
        'cid': '{16955eee-6c48-4152-9309-c42a465138a1}',
        'contract_ids': ['@mozilla.org/ssservice;1'],
        'type': 'nsSiteSecurityService',
        'legacy_constructor': 'mozilla::psm::NSSConstructor<nsSiteSecurityService>',
    },
    {
        'cid': '{57972956-5718-42d2-8070-b3fc72212eaf}',
        'contract_ids': ['@mozilla.org/security/oskeystore;1'],
        'type': 'OSKeyStore',
        'legacy_constructor': 'mozilla::psm::NSSConstructor<OSKeyStore>',
    },
    {
        'cid': '{4fe082ae-6ff0-4b41-b24f-eaa664f6e46a}',
        'contract_ids': ['@mozilla.org/security/osreauthenticator;1'],
        'type': 'OSReauthenticator',
        'legacy_constructor': 'mozilla::psm::NSSConstructor<OSReauthenticator>',
    },
]

if defined('MOZ_XUL'):
    Classes += [
        {
            'cid': '{4ea60761-31d6-491d-9e34-4b53a26c416c}',
            'contract_ids': ['@mozilla.org/security/nsCertTree;1'],
            'type': 'nsCertTree',
            'legacy_constructor': 'mozilla::psm::NSSConstructor<nsCertTree>',
        },
    ]

if defined('MOZ_NEW_CERT_STORAGE'):
    Classes += [
        {
            'cid': '{16e5c837-f877-4e23-9c64-eddf905e30e6}',
            'contract_ids': ['@mozilla.org/security/certstorage;1'],
            'headers': ['/security/manager/ssl/cert_storage/src/cert_storage.h'],
            'legacy_constructor': 'construct_cert_storage',
        },
    ]
else:
    Classes += [
        {
            'cid': '{11aefd53-2fbb-4c92-a0c1-053212ae42d0}',
            'contract_ids': ['@mozilla.org/security/certblocklist;1'],
            'type': 'CertBlocklist',
            'legacy_constructor': 'mozilla::psm::NSSConstructor<CertBlocklist>',
        },
    ]