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

Side by Side Diff: sdk/lib/io/secure_server_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/process.dart ('k') | sdk/lib/io/secure_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;
5 6
6 abstract class SecureServerSocket implements ServerSocket { 7 abstract class SecureServerSocket implements ServerSocket {
7 /** 8 /**
8 * Constructs a new secure server socket, binds it to a given address 9 * Constructs a new secure server socket, binds it to a given address
9 * and port, and listens on it. Incoming client connections are 10 * and port, and listens on it. Incoming client connections are
10 * promoted to secure connections, using the server certificate given by 11 * promoted to secure connections, using the server certificate given by
11 * certificate_name. The bindAddress must be given as a numeric address, 12 * certificate_name. The bindAddress must be given as a numeric address,
12 * not a host name. The certificate name is the distinguished name (DN) of 13 * not a host name. The certificate name is the distinguished name (DN) of
13 * the certificate, such as "CN=localhost" or "CN=myserver.mydomain.com". 14 * the certificate, such as "CN=localhost" or "CN=myserver.mydomain.com".
14 * The certificate is looked up in the NSS certificate database set by 15 * The certificate is looked up in the NSS certificate database set by
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 requireClientCertificate: requireClientCertificate); 91 requireClientCertificate: requireClientCertificate);
91 _onConnectionCallback(secure_connection); 92 _onConnectionCallback(secure_connection);
92 } 93 }
93 94
94 ServerSocket socket; 95 ServerSocket socket;
95 var _onConnectionCallback; 96 var _onConnectionCallback;
96 final String certificate_name; 97 final String certificate_name;
97 final bool requestClientCertificate; 98 final bool requestClientCertificate;
98 final bool requireClientCertificate; 99 final bool requireClientCertificate;
99 } 100 }
OLDNEW
« no previous file with comments | « sdk/lib/io/process.dart ('k') | sdk/lib/io/secure_socket.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698