Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(245)

Side by Side Diff: chrome/common/extensions/api/platform_keys.idl

Issue 1232553003: Add new certificateProvider extension API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Use the <code>chrome.platformKeys</code> API to access client certificates 5 // Use the <code>chrome.platformKeys</code> API to access client certificates
6 // managed by the platform. If the user or policy grants the permission, an 6 // managed by the platform. If the user or policy grants the permission, an
7 // extension can use such a certficate in its custom authentication protocol. 7 // extension can use such a certficate in its custom authentication protocol.
8 // E.g. this allows usage of platform managed certificates in third party VPNs 8 // E.g. this allows usage of platform managed certificates in third party VPNs
9 // (see $(ref:vpnProvider chrome.vpnProvider)). 9 // (see $(ref:vpnProvider chrome.vpnProvider)).
10 namespace platformKeys { 10 namespace platformKeys {
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 // Note: The actual behavior of the trust verification is not fully 144 // Note: The actual behavior of the trust verification is not fully
145 // specified and might change in the future. 145 // specified and might change in the future.
146 // The API implementation verifies certificate expiration, validates the 146 // The API implementation verifies certificate expiration, validates the
147 // certification path and checks trust by a known CA. 147 // certification path and checks trust by a known CA.
148 // The implementation is supposed to respect the EKU serverAuth and to 148 // The implementation is supposed to respect the EKU serverAuth and to
149 // support subject alternative names. 149 // support subject alternative names.
150 static void verifyTLSServerCertificate(VerificationDetails details, 150 static void verifyTLSServerCertificate(VerificationDetails details,
151 VerificationCallback callback); 151 VerificationCallback callback);
152 }; 152 };
153 }; 153 };
154
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698