setClientAuthorities abstract method
void setClientAuthorities(Sets the list of authority names that a SecureServerSocket will advertise as accepted when requesting a client certificate from a connecting client.
file
is a PEM or PKCS12 file containing the accepted signing authority certificates - the authority names are extracted from the certificates. For PKCS12 files, password
is the password for the file. For PEM files, password
is ignored. Assuming it is well-formatted, all other contents of file
are ignored.
NB: This function calls File.readAsBytesSync, and will block on file IO. Prefer using setClientAuthoritiesBytes.
iOS note: This call is not supported.
Source
void setClientAuthorities(String file, {String password});
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-io/SecurityContext/setClientAuthorities.html