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

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

Issue 21716004: dart:io | Add SecureSocket.importPrivateCertificates, that reads a PKCS#12 file. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add delayed deletion of locked temp directory on Windows. 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
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 5725d1ed8fb855436219b6be9386794548923f9d..9f3943b1cacb07b42c14cc5cff3c8434fc0a9b54 100644
--- a/sdk/lib/_internal/lib/io_patch.dart
+++ b/sdk/lib/_internal/lib/io_patch.dart
@@ -277,7 +277,8 @@ patch class SecureSocket {
patch static void initialize({String database,
String password,
- bool useBuiltinRoots: true}) {
+ bool useBuiltinRoots: true,
+ bool readOnly: true}) {
throw new UnsupportedError("SecureSocket.initialize");
}
@@ -285,6 +286,24 @@ patch class SecureSocket {
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 {

Powered by Google App Engine
This is Rietveld 408576698