summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Hai Shalom <haishalom@google.com> 2019-04-16 15:04:01 -0700
committer Hai Shalom <haishalom@google.com> 2019-04-16 15:04:01 -0700
commitee5959b1b8185dd848e924366662396e17bfbe45 (patch)
treee045c3eaf32baa7a07b9cb082b6ec846623a6ed4
parenta1cab98af43af0df4ff408675b817cb1e35868f5 (diff)
[WifiEnterpriseConfig] Update javadoc for setDomainSuffixMatch
wpa_supplicant accepts a semicolon delimited list of domain suffixes. Update the javadoc to reflect this. Bug: 130664269 Test: No code changes Change-Id: I93dbabeddb8854112b413dbb27d094d9d187a73c
-rw-r--r--wifi/java/android/net/wifi/WifiEnterpriseConfig.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/wifi/java/android/net/wifi/WifiEnterpriseConfig.java b/wifi/java/android/net/wifi/WifiEnterpriseConfig.java
index 950c6f801461..9d4b837ce2d1 100644
--- a/wifi/java/android/net/wifi/WifiEnterpriseConfig.java
+++ b/wifi/java/android/net/wifi/WifiEnterpriseConfig.java
@@ -967,6 +967,10 @@ public class WifiEnterpriseConfig implements Parcelable {
* from the top-level domain and all the labels in domain_suffix_match shall be included in the
* certificate. The certificate may include additional sub-level labels in addition to the
* required labels.
+ * <p>More than one match string can be provided by using semicolons to separate the strings
+ * (e.g., example.org;example.com). When multiple strings are specified, a match with any one of
+ * the values is considered a sufficient match for the certificate, i.e., the conditions are
+ * ORed ogether.
* <p>For example, domain_suffix_match=example.com would match test.example.com but would not
* match test-example.com.
* @param domain The domain value