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

Side by Side Diff: sdk/lib/io/secure_socket.dart

Issue 2974433002: Remaining private libs (Closed)
Patch Set: It's html_common Created 3 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
« no previous file with comments | « sdk/lib/io/secure_server_socket.dart ('k') | sdk/lib/io/security_context.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 part of "io.dart"; 5 part of "dart:io";
6 6
7 /** 7 /**
8 * A high-level class for communicating securely over a TCP socket, using 8 * A high-level class for communicating securely over a TCP socket, using
9 * TLS and SSL. The [SecureSocket] exposes both a [Stream] and an 9 * TLS and SSL. The [SecureSocket] exposes both a [Stream] and an
10 * [IOSink] interface, making it ideal for using together with 10 * [IOSink] interface, making it ideal for using together with
11 * other [Stream]s. 11 * other [Stream]s.
12 */ 12 */
13 abstract class SecureSocket implements Socket { 13 abstract class SecureSocket implements Socket {
14 external factory SecureSocket._(RawSecureSocket rawSocket); 14 external factory SecureSocket._(RawSecureSocket rawSocket);
15 15
(...skipping 1223 matching lines...) Expand 10 before | Expand all | Expand 10 after
1239 1239
1240 /** 1240 /**
1241 * An exception that happens in the handshake phase of establishing 1241 * An exception that happens in the handshake phase of establishing
1242 * a secure network connection, when looking up or verifying a 1242 * a secure network connection, when looking up or verifying a
1243 * certificate. 1243 * certificate.
1244 */ 1244 */
1245 class CertificateException extends TlsException { 1245 class CertificateException extends TlsException {
1246 const CertificateException([String message = "", OSError osError = null]) 1246 const CertificateException([String message = "", OSError osError = null])
1247 : super._("CertificateException", message, osError); 1247 : super._("CertificateException", message, osError);
1248 } 1248 }
OLDNEW
« no previous file with comments | « sdk/lib/io/secure_server_socket.dart ('k') | sdk/lib/io/security_context.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698