Index: sdk/lib/io/security_context.dart |
diff --git a/sdk/lib/io/security_context.dart b/sdk/lib/io/security_context.dart |
index 4675b60048a0fbaefd2478176f73ff7f4c5cdc4b..a8c4305d1e54904b55e49fb22e56b577010d26b2 100644 |
--- a/sdk/lib/io/security_context.dart |
+++ b/sdk/lib/io/security_context.dart |
@@ -109,7 +109,16 @@ abstract class SecurityContext { |
* client. [file] is a PEM file containing the accepted signing authority |
* certificates - the authority names are extracted from the certificates. |
*/ |
- void setClientAuthorities(String file); |
+ void setClientAuthoritiesSync(String file); |
+ |
+ /** |
+ * Sets the list of authority names that a [SecureServer] will advertise |
+ * as accepted, when requesting a client certificate from a connecting |
+ * client. [authCertBytes] is the contents of a PEM file containing the |
+ * accepted signing authority certificates - the authority names are extracted |
+ * from the certificates. |
+ */ |
+ void setClientAuthoritiesBytes(List<int> authCertBytes); |
/** |
* Sets the list of application-level protocols supported by a client |