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

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

Issue 11419032: Switch libraries to using new tags. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated to tip of tree. Changed library names to dart.x 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
5 /** 7 /**
6 * SecureSocket provides a secure (SSL or TLS) client connection to a server. 8 * SecureSocket provides a secure (SSL or TLS) client connection to a server.
7 * The certificate provided by the server is checked 9 * The certificate provided by the server is checked
8 * using the certificate database provided in setCertificateDatabase. 10 * using the certificate database provided in setCertificateDatabase.
9 */ 11 */
10 abstract class SecureSocket implements Socket { 12 abstract class SecureSocket implements Socket {
11 /** 13 /**
12 * Constructs a new secure client socket and connect it to the given 14 * Constructs a new secure client socket and connect it to the given
13 * host on the given port. The returned socket is not yet connected 15 * host on the given port. The returned socket is not yet connected
14 * but ready for registration of callbacks. If sendClientCertificate is 16 * but ready for registration of callbacks. If sendClientCertificate is
(...skipping 653 matching lines...) Expand 10 before | Expand all | Expand 10 after
668 void destroy(); 670 void destroy();
669 void handshake(); 671 void handshake();
670 void init(); 672 void init();
671 X509Certificate get peerCertificate; 673 X509Certificate get peerCertificate;
672 int processBuffer(int bufferIndex); 674 int processBuffer(int bufferIndex);
673 void registerBadCertificateCallback(Function callback); 675 void registerBadCertificateCallback(Function callback);
674 void registerHandshakeCompleteCallback(Function handshakeCompleteHandler); 676 void registerHandshakeCompleteCallback(Function handshakeCompleteHandler);
675 677
676 List<_ExternalBuffer> get buffers; 678 List<_ExternalBuffer> get buffers;
677 } 679 }
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