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

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

Issue 11612020: Revert "Switch libraries to using new tags." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years 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 | Annotate | Revision Log
« no previous file with comments | « sdk/lib/io/secure_server_socket.dart ('k') | sdk/lib/io/socket.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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 dart.io;
6
7 /** 5 /**
8 * SecureSocket provides a secure (SSL or TLS) client connection to a server. 6 * SecureSocket provides a secure (SSL or TLS) client connection to a server.
9 * The certificate provided by the server is checked 7 * The certificate provided by the server is checked
10 * using the certificate database provided in setCertificateDatabase. 8 * using the certificate database provided in setCertificateDatabase.
11 */ 9 */
12 abstract class SecureSocket implements Socket { 10 abstract class SecureSocket implements Socket {
13 /** 11 /**
14 * Constructs a new secure client socket and connect it to the given 12 * Constructs a new secure client socket and connect it to the given
15 * host on the given port. The returned socket is not yet connected 13 * host on the given port. The returned socket is not yet connected
16 * but ready for registration of callbacks. If sendClientCertificate is 14 * but ready for registration of callbacks. If sendClientCertificate is
(...skipping 653 matching lines...) Expand 10 before | Expand all | Expand 10 after
670 void destroy(); 668 void destroy();
671 void handshake(); 669 void handshake();
672 void init(); 670 void init();
673 X509Certificate get peerCertificate; 671 X509Certificate get peerCertificate;
674 int processBuffer(int bufferIndex); 672 int processBuffer(int bufferIndex);
675 void registerBadCertificateCallback(Function callback); 673 void registerBadCertificateCallback(Function callback);
676 void registerHandshakeCompleteCallback(Function handshakeCompleteHandler); 674 void registerHandshakeCompleteCallback(Function handshakeCompleteHandler);
677 675
678 List<_ExternalBuffer> get buffers; 676 List<_ExternalBuffer> get buffers;
679 } 677 }
OLDNEW
« no previous file with comments | « sdk/lib/io/secure_server_socket.dart ('k') | sdk/lib/io/socket.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698