OLD | NEW |
(Empty) | |
| 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 |
| 3 // BSD-style license that can be found in the LICENSE file. |
| 4 |
| 5 patch class TlsSocket { |
| 6 /* patch */ static void setCertificateDatabase(String pkcertDirectory) |
| 7 native "TlsSocket_SetCertificateDatabase"; |
| 8 } |
| 9 |
| 10 patch class _TlsFilter extends NativeFieldWrapperClass1 { |
| 11 /* patch */ void init() native "TlsSocket_Init"; |
| 12 |
| 13 /* patch */ void connect() native "TlsSocket_Connect"; |
| 14 |
| 15 /* patch */ void registerHandshakeCallbacks(Function startHandshakeHandler, |
| 16 Function finishHandshakeHandler) |
| 17 native "TlsSocket_RegisterHandshakeCallbacks"; |
| 18 /* patch */ int processBuffer(int bufferIndex) |
| 19 native "TlsSocket_ProcessBuffer"; |
| 20 /* patch */ void destroy() native "TlsSocket_Destroy"; |
| 21 } |
OLD | NEW |