Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(758)

Unified Diff: sdk/lib/io/security_context.dart

Issue 1663633003: Adds SecurityContext.setClientAuthoritiesBytes (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
« no previous file with comments | « runtime/bin/secure_socket_unsupported.cc ('k') | tests/standalone/io/secure_server_client_certificate_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698