зеркало из https://github.com/mozilla/gecko-dev.git
188 строки
7.2 KiB
Python
188 строки
7.2 KiB
Python
# -*- 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': '{0ae53c0f-8ea2-4916-bedc-717443c3e185}',
|
|
'contract_ids': ['@mozilla.org/layout/form-processor;1'],
|
|
'legacy_constructor': 'nsKeygenFormProcessor::Create',
|
|
'headers': ['/security/manager/ssl/nsKeygenHandler.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': [],
|
|
'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': '{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',
|
|
},
|
|
{
|
|
'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>',
|
|
},
|
|
]
|