OLD | NEW |
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 Loading... |
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 | |
OLD | NEW |