summaryrefslogtreecommitdiffstats
path: root/crypto/scoped_test_system_nss_key_slot.cc
diff options
context:
space:
mode:
authorpneubeck@chromium.org <pneubeck@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-02 07:37:24 +0000
committerpneubeck@chromium.org <pneubeck@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-02 07:37:24 +0000
commit442233d48747e65512b01ee892ba0c3a4eb8935a (patch)
treed48d3a5868e45e14be94cf101dab4c6bdbc4f83c /crypto/scoped_test_system_nss_key_slot.cc
parenta093e53ac4c5df37c17ee95c1ba456133bd4f013 (diff)
downloadchromium_src-442233d48747e65512b01ee892ba0c3a4eb8935a.zip
chromium_src-442233d48747e65512b01ee892ba0c3a4eb8935a.tar.gz
chromium_src-442233d48747e65512b01ee892ba0c3a4eb8935a.tar.bz2
Enable system NSS key slot.
This only affects users of domains that the device is registered to for policy. All other users are unaffected (EnableNSSSystemKeySlotForResourceContext is only called for USER_AFFILIATION_MANAGED) For the affected users, this enables and uses the slot for - client authentication for TSL (see ClientCertStoreChromeOS) - client authentication for 802.1x networks - listing/removing certificates on the settings page (see CertificateManager) In a follow up, also the enterprise.platformKeys API will be updated. Depends on: https://codereview.chromium.org/426983002/ https://codereview.chromium.org/428933002/ BUG=210525 R=mattm@chromium.org, rsleevi@chromium.org, willchan@chromium.org, xiyuan@chromium.org Review URL: https://codereview.chromium.org/424523002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287175 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'crypto/scoped_test_system_nss_key_slot.cc')
-rw-r--r--crypto/scoped_test_system_nss_key_slot.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/scoped_test_system_nss_key_slot.cc b/crypto/scoped_test_system_nss_key_slot.cc
index ee5e1df..53fbbff 100644
--- a/crypto/scoped_test_system_nss_key_slot.cc
+++ b/crypto/scoped_test_system_nss_key_slot.cc
@@ -25,4 +25,8 @@ bool ScopedTestSystemNSSKeySlot::ConstructedSuccessfully() const {
return test_db_->is_open();
}
+PK11SlotInfo* ScopedTestSystemNSSKeySlot::slot() const {
+ return test_db_->slot();
+}
+
} // namespace crypto