| Index: runtime/bin/secure_socket_patch.dart
|
| diff --git a/runtime/bin/secure_socket_patch.dart b/runtime/bin/secure_socket_patch.dart
|
| index c511465da0560979d143566f81198297f04abb72..9e79c86695e9dd987f38f5245bf9ff0b240b04b3 100644
|
| --- a/runtime/bin/secure_socket_patch.dart
|
| +++ b/runtime/bin/secure_socket_patch.dart
|
| @@ -37,7 +37,10 @@ class _SecureFilterImpl
|
| void connect(String hostName,
|
| int port,
|
| bool is_server,
|
| - String certificate_name) native "SecureSocket_Connect";
|
| + String certificateName,
|
| + bool requestClientCertificate,
|
| + bool requireClientCertificate,
|
| + bool sendClientCertificate) native "SecureSocket_Connect";
|
|
|
| void destroy() {
|
| buffers = null;
|
| @@ -50,6 +53,8 @@ class _SecureFilterImpl
|
|
|
| void init() native "SecureSocket_Init";
|
|
|
| + X509Certificate get peerCertificate native "SecureSocket_PeerCertificate";
|
| +
|
| int processBuffer(int bufferIndex) native "SecureSocket_ProcessBuffer";
|
|
|
| void registerBadCertificateCallback(Function callback)
|
|
|