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

Unified Diff: sdk/lib/_internal/lib/io_patch.dart

Issue 22887014: Remove the certificate management methods from dart:io (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/bin/secure_socket_patch.dart ('k') | sdk/lib/io/secure_socket.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/lib/io_patch.dart
diff --git a/sdk/lib/_internal/lib/io_patch.dart b/sdk/lib/_internal/lib/io_patch.dart
index 6aed3a2c6c5eec8d9413efed4346b0acb91153f7..e41a2ce63e58d11cfe4b6f7ddf0bf3f1b4bbe629 100644
--- a/sdk/lib/_internal/lib/io_patch.dart
+++ b/sdk/lib/_internal/lib/io_patch.dart
@@ -289,33 +289,9 @@ patch class SecureSocket {
patch static void initialize({String database,
String password,
- bool useBuiltinRoots: true,
- bool readOnly: true}) {
+ bool useBuiltinRoots: true}) {
throw new UnsupportedError("SecureSocket.initialize");
}
-
- patch static X509Certificate addCertificate(List<int> certificate,
- String trust) {
- throw new UnsupportedError("SecureSocket.addCertificate");
- }
-
- patch static importCertificatesWithPrivateKeys(List<int> certificates,
- String password) {
- throw new UnsupportedError(
- "SecureSocket.importCertificatesWithPrivateKeys");
- }
-
- patch static X509Certificate getCertificate(String nickname) {
- throw new UnsupportedError("SecureSocket.getCertificate");
- }
-
- patch static removeCertificate(String nickname) {
- throw new UnsupportedError("SecureSocket.removeCertificate");
- }
-
- patch static X509Certificate changeTrust(String nickname, String trust) {
- throw new UnsupportedError("SecureSocket.changeTrust");
- }
}
patch class _SecureFilter {
« no previous file with comments | « runtime/bin/secure_socket_patch.dart ('k') | sdk/lib/io/secure_socket.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698