| Index: runtime/bin/secure_socket_patch.dart
|
| diff --git a/runtime/bin/secure_socket_patch.dart b/runtime/bin/secure_socket_patch.dart
|
| index 96d6565ae21e6e4bd5d4b07cac47f952badedd23..e4dcf84225891c2d04788e1b8b567b37f34c5444 100644
|
| --- a/runtime/bin/secure_socket_patch.dart
|
| +++ b/runtime/bin/secure_socket_patch.dart
|
| @@ -8,12 +8,24 @@ patch class SecureSocket {
|
|
|
| /* patch */ static void initialize({String database,
|
| String password,
|
| - bool useBuiltinRoots: true})
|
| + bool useBuiltinRoots: true,
|
| + bool readOnly: true})
|
| native "SecureSocket_InitializeLibrary";
|
|
|
| /* patch */ static X509Certificate addCertificate(List<int> certificate,
|
| String trust)
|
| native "SecureSocket_AddCertificate";
|
| +
|
| + /* patch */ static importPrivateCertificates(List<int> certificates,
|
| + String password)
|
| + native "SecureSocket_ImportPrivateCertificates";
|
| +
|
| + /* patch */ static X509Certificate changeTrust(String nicknameOrDN,
|
| + String trust)
|
| + native "SecureSocket_ChangeTrust";
|
| +
|
| + /* patch */ static removeCertificate(String nicknameOrDN)
|
| + native "SecureSocket_RemoveCertificate";
|
| }
|
|
|
|
|
|
|