| 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..67052d8f6151911debdf1535e115f7de37e756c4 100644
|
| --- a/runtime/bin/secure_socket_patch.dart
|
| +++ b/runtime/bin/secure_socket_patch.dart
|
| @@ -8,12 +8,27 @@ 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 importCertificatesWithPrivateKeys(List<int> certificates,
|
| + String password)
|
| + native "SecureSocket_ImportCertificatesWithPrivateKeys";
|
| +
|
| + /* patch */ static X509Certificate changeTrust(String nickname,
|
| + String trust)
|
| + native "SecureSocket_ChangeTrust";
|
| +
|
| + /* patch */ static getCertificate(String nickname)
|
| + native "SecureSocket_GetCertificate";
|
| +
|
| + /* patch */ static removeCertificate(String nickname)
|
| + native "SecureSocket_RemoveCertificate";
|
| }
|
|
|
|
|
|
|