HomeSort by relevance Sort by last modified time
    Searched refs:NSSCertDatabase (Results 1 - 25 of 35) sorted by null

1 2

  /external/chromium_org/chrome/browser/net/
nss_context.h 17 class NSSCertDatabase;
38 // Returns a pointer to the NSSCertDatabase for the user associated with
44 net::NSSCertDatabase* GetNSSCertDatabaseForResourceContext(
46 const base::Callback<void(net::NSSCertDatabase*)>& callback)
50 // Enables the system key slot in the NSSCertDatabase for the user associated
57 // Gets a pointer to the NSSCertDatabase for the user associated with |context|.
64 const base::Callback<void(net::NSSCertDatabase*)>& callback);
nss_context_linux.cc 12 net::NSSCertDatabase* g_nss_cert_database = NULL;
28 net::NSSCertDatabase* GetNSSCertDatabaseForResourceContext(
30 const base::Callback<void(net::NSSCertDatabase*)>& callback) {
38 g_nss_cert_database = new net::NSSCertDatabase(
nss_context.cc 19 const base::Callback<void(net::NSSCertDatabase*)>& callback,
20 net::NSSCertDatabase* cert_db) {
26 // Gets NSSCertDatabase for the resource context.
30 const base::Callback<void(net::NSSCertDatabase*)>& callback) {
35 net::NSSCertDatabase* cert_db = GetNSSCertDatabaseForResourceContext(
47 const base::Callback<void(net::NSSCertDatabase*)>& callback) {
nss_context_chromeos_browsertest.cc 23 void NotCalledDbCallback(net::NSSCertDatabase* db) { ASSERT_TRUE(false); }
25 // DBTester handles retrieving the NSSCertDatabase for a given profile, and
73 net::NSSCertDatabase* db = GetNSSCertDatabaseForResourceContext(
87 net::NSSCertDatabase* db) {
102 net::NSSCertDatabase* db = GetNSSCertDatabaseForResourceContext(
114 net::NSSCertDatabase* db_;
nss_context_chromeos.cc 94 const base::Callback<void(net::NSSCertDatabase*)>& callback,
130 net::NSSCertDatabase* GetNSSCertDatabaseForResourceContext(
132 const base::Callback<void(net::NSSCertDatabase*)>& callback) {
  /external/chromium_org/net/third_party/mozilla_security_manager/
nsNSSCertificateDB.h 59 net::NSSCertDatabase::TrustBits trustBits,
60 net::NSSCertDatabase::ImportCertFailureList* not_imported);
65 net::NSSCertDatabase::TrustBits trustBits,
66 net::NSSCertDatabase::ImportCertFailureList* not_imported);
70 net::NSSCertDatabase::TrustBits trustBits);
nsNSSCertificateDB.cpp 65 net::NSSCertDatabase::TrustBits trustBits,
66 net::NSSCertDatabase::ImportCertFailureList* not_imported) {
75 not_imported->push_back(net::NSSCertDatabase::ImportCertFailure(
82 not_imported->push_back(net::NSSCertDatabase::ImportCertFailure(
122 not_imported->push_back(net::NSSCertDatabase::ImportCertFailure(
129 not_imported->push_back(net::NSSCertDatabase::ImportCertFailure(
140 not_imported->push_back(net::NSSCertDatabase::ImportCertFailure(
161 not_imported->push_back(net::NSSCertDatabase::ImportCertFailure(
174 net::NSSCertDatabase::TrustBits trustBits,
175 net::NSSCertDatabase::ImportCertFailureList* not_imported)
    [all...]
  /external/chromium_org/chrome/browser/
certificate_manager_model.h 62 // Accessor for read-only access to the underlying NSSCertDatabase.
63 const net::NSSCertDatabase* cert_db() const { return cert_db_; }
89 // |trust_bits| should be a bit field of TRUST* values from NSSCertDatabase.
94 net::NSSCertDatabase::TrustBits trust_bits,
95 net::NSSCertDatabase::ImportCertFailureList* not_imported);
109 net::NSSCertDatabase::TrustBits trust_bits,
110 net::NSSCertDatabase::ImportCertFailureList* not_imported);
113 // |trust_bits| should be a bit field of TRUST* values from NSSCertDatabase.
117 net::NSSCertDatabase::TrustBits trust_bits);
127 CertificateManagerModel(net::NSSCertDatabase* nss_cert_database
    [all...]
certificate_manager_model.cc 27 // NSSCertDatabase handle (and on ChromeOS it needs to get the TPM status) which
66 net::NSSCertDatabase* nss_cert_database,
171 net::NSSCertDatabase::TrustBits trust_bits,
172 net::NSSCertDatabase::ImportCertFailureList* not_imported) {
181 net::NSSCertDatabase::TrustBits trust_bits,
182 net::NSSCertDatabase::ImportCertFailureList* not_imported) {
193 net::NSSCertDatabase::TrustBits trust_bits) {
211 net::NSSCertDatabase* cert_db,
227 net::NSSCertDatabase* cert_db) {
252 net::NSSCertDatabase* cert_db = GetNSSCertDatabaseForResourceContext
    [all...]
  /external/chromium_org/chromeos/network/onc/
onc_certificate_importer_impl.h 28 class NSSCertDatabase;
44 // |io_task_runner| will be used for NSSCertDatabase accesses.
47 net::NSSCertDatabase* target_nssdb_);
65 net::NSSCertDatabase* nssdb);
71 net::NSSCertDatabase* target_nssdb);
76 net::NSSCertDatabase* target_nssdb);
83 net::NSSCertDatabase* nssdb,
95 net::NSSCertDatabase* nssdb,
100 net::NSSCertDatabase* nssdb);
102 // The task runner to use for NSSCertDatabase accesses
    [all...]
onc_certificate_importer_impl.cc 48 net::NSSCertDatabase* target_nssdb)
85 // The NSSCertDatabase must be accessed on |io_task_runner_|
94 net::NSSCertDatabase* nssdb) {
124 net::NSSCertDatabase* target_nssdb) {
164 net::NSSCertDatabase* target_nssdb) {
195 net::NSSCertDatabase* nssdb,
238 net::NSSCertDatabase* nssdb,
288 net::NSSCertDatabase::TrustBits trust = (import_with_ssl_trust ?
289 net::NSSCertDatabase::TRUSTED_SSL :
290 net::NSSCertDatabase::TRUST_DEFAULT)
    [all...]
  /external/chromium_org/net/cert/
nss_cert_database.cc 42 // TODO(pneubeck): Move this class out of NSSCertDatabase and to the caller of
43 // the c'tor of NSSCertDatabase, see https://crbug.com/395983 .
44 // Helper that observes events from the NSSCertDatabase and forwards them to
46 class CertNotificationForwarder : public NSSCertDatabase::Observer {
53 // NSSCertDatabase::Observer implementation:
74 NSSCertDatabase::ImportCertFailure::ImportCertFailure(
79 NSSCertDatabase::ImportCertFailure::~ImportCertFailure() {}
81 NSSCertDatabase::NSSCertDatabase(crypto::ScopedPK11Slot public_slot,
97 NSSCertDatabase::~NSSCertDatabase() {
    [all...]
nss_cert_database_unittest.cc 60 cert_db_.reset(new NSSCertDatabase(
74 // NSSCertDatabase::NotifyObservers* get released.
117 scoped_ptr<NSSCertDatabase> cert_db_;
286 NSSCertDatabase::ImportCertFailureList failed;
287 EXPECT_TRUE(cert_db_->ImportCACerts(certs, NSSCertDatabase::TRUSTED_SSL,
297 EXPECT_EQ(NSSCertDatabase::TRUSTED_SSL,
317 NSSCertDatabase::ImportCertFailureList failed;
318 EXPECT_TRUE(cert_db_->ImportCACerts(certs, NSSCertDatabase::TRUSTED_EMAIL,
328 EXPECT_EQ(NSSCertDatabase::TRUSTED_EMAIL,
348 NSSCertDatabase::ImportCertFailureList failed
    [all...]
nss_cert_database_chromeos.h 17 class NET_EXPORT NSSCertDatabaseChromeOS : public NSSCertDatabase {
27 // NSSCertDatabase implementation.
29 virtual void ListCerts(const NSSCertDatabase::ListCertsCallback& callback)
41 // The certificate list normally returned by NSSCertDatabase::ListCertsImpl
nss_cert_database_chromeos.cc 24 : NSSCertDatabase(public_slot.Pass(), private_slot.Pass()) {
66 NSSCertDatabase::ListModules(modules, need_rw);
83 NSSCertDatabase::ListCertsImpl(crypto::ScopedPK11Slot(), certs);
nss_cert_database.h 35 class NET_EXPORT NSSCertDatabase {
103 // Creates a NSSCertDatabase that will store public information (such as
106 // In general, code should avoid creating an NSSCertDatabase directly,
108 // data, and instead prefer to be passed an existing NSSCertDatabase
112 NSSCertDatabase(crypto::ScopedPK11Slot public_slot,
114 virtual ~NSSCertDatabase();
137 // Note: The System slot is set after the NSSCertDatabase is constructed and
271 // directly through the NSSCertDatabase, but not those from the CertDatabase.
305 base::WeakPtrFactory<NSSCertDatabase> weak_factory_;
307 DISALLOW_COPY_AND_ASSIGN(NSSCertDatabase);
    [all...]
nss_cert_database_chromeos_unittest.cc 156 NSSCertDatabase::ImportCertFailureList failed;
158 db_1_->ImportCACerts(certs_1, NSSCertDatabase::TRUSTED_SSL, &failed));
162 db_2_->ImportCACerts(certs_2, NSSCertDatabase::TRUSTED_SSL, &failed));
183 // TODO(mattm): make NSSCertDatabase actually pass the cert to the callback,
224 NSSCertDatabase::ImportCertFailureList failed;
226 db_1_->ImportServerCert(certs_1, NSSCertDatabase::TRUSTED_SSL, &failed));
230 db_2_->ImportServerCert(certs_2, NSSCertDatabase::TRUSTED_SSL, &failed));
  /external/chromium_org/chromeos/
cert_loader.h 21 class NSSCertDatabase;
72 void StartWithNSSDB(net::NSSCertDatabase* database);
123 net::NSSCertDatabase* database_;
cert_loader_unittest.cc 114 int GetDbPrivateSlotId(net::NSSCertDatabase* db) {
119 net::NSSCertDatabase* database,
131 net::NSSCertDatabase::ImportCertFailureList failed;
133 net::NSSCertDatabase::TRUST_DEFAULT,
139 net::NSSCertDatabase* database,
305 ASSERT_EQ(net::NSSCertDatabase::TRUST_DEFAULT,
308 certs[0].get(), net::CA_CERT, net::NSSCertDatabase::TRUSTED_SSL));
  /external/chromium_org/chrome/browser/chromeos/policy/
user_network_configuration_updater.h 39 class NSSCertDatabase;
118 void CreateAndSetCertificateImporter(net::NSSCertDatabase* database);
policy_cert_verifier_browsertest.cc 114 net::NSSCertDatabase::TrustBits trust =
116 EXPECT_EQ(net::NSSCertDatabase::TRUST_DEFAULT, trust);
154 net::NSSCertDatabase::ImportCertFailureList failure_list;
156 test_ca_cert_list_, net::NSSCertDatabase::TRUSTED_SSL, &failure_list));
160 net::NSSCertDatabase::TrustBits trust =
162 EXPECT_EQ(net::NSSCertDatabase::TRUSTED_SSL, trust);
  /external/chromium_org/chrome/browser/chromeos/net/
cert_verify_proc_chromeos_unittest.cc 138 net::NSSCertDatabase::ImportCertFailureList failed;
140 root_1_, net::NSSCertDatabase::TRUSTED_SSL, &failed));
156 root_2_, net::NSSCertDatabase::TRUSTED_SSL, &failed));
253 net::NSSCertDatabase::ImportCertFailureList failed;
255 db_2_->ImportCACerts(roots, net::NSSCertDatabase::TRUSTED_SSL, &failed));
319 net::NSSCertDatabase::ImportCertFailureList failed;
321 root_1_, net::NSSCertDatabase::TRUSTED_SSL, &failed));
332 net::NSSCertDatabase::ImportCertFailureList failed;
334 root_2_, net::NSSCertDatabase::TRUSTED_SSL, &failed));
  /external/chromium_org/chrome/browser/chromeos/platform_keys/
platform_keys_nss.cc 73 typedef base::Callback<void(net::NSSCertDatabase* cert_db)> GetCertDBCallback;
76 // NSSCertDatabase.
82 net::NSSCertDatabase* cert_db) {
85 LOG(ERROR) << "Couldn't get NSSCertDatabase.";
106 // Retrieves the NSSCertDatabase from |context| and, if |token_id| is not empty,
114 net::NSSCertDatabase* cert_db = GetNSSCertDatabaseForResourceContext(
121 // Asynchronously fetches the NSSCertDatabase for |browser_context| and, if
353 // Continues generating a RSA key with the obtained NSSCertDatabase. Used by
356 net::NSSCertDatabase* cert_db) {
358 // Only the slot and not the NSSCertDatabase is required. Ignore |cert_db|
    [all...]
  /external/chromium_org/chrome/browser/ui/webui/options/
certificate_manager_handler.cc 562 net::NSSCertDatabase::TrustBits trust_bits =
565 static_cast<bool>(trust_bits & net::NSSCertDatabase::TRUSTED_SSL));
567 static_cast<bool>(trust_bits & net::NSSCertDatabase::TRUSTED_EMAIL));
569 static_cast<bool>(trust_bits & net::NSSCertDatabase::TRUSTED_OBJ_SIGN));
593 trust_ssl * net::NSSCertDatabase::TRUSTED_SSL +
594 trust_email * net::NSSCertDatabase::TRUSTED_EMAIL +
595 trust_obj_sign * net::NSSCertDatabase::TRUSTED_OBJ_SIGN);
    [all...]
  /external/chromium_org/chrome/common/net/
x509_certificate_model_unittest.cc 228 net::NSSCertDatabase db(crypto::ScopedPK11Slot(PK11_ReferenceSlot(
236 cert.get(), net::CA_CERT, net::NSSCertDatabase::DISTRUSTED_SSL));
262 net::NSSCertDatabase db(crypto::ScopedPK11Slot(PK11_ReferenceSlot(
269 cert.get(), net::SERVER_CERT, net::NSSCertDatabase::TRUSTED_SSL));
276 cert.get(), net::SERVER_CERT, net::NSSCertDatabase::DISTRUSTED_SSL));

Completed in 210 milliseconds

1 2