From ee5959b1b8185dd848e924366662396e17bfbe45 Mon Sep 17 00:00:00 2001 From: Hai Shalom Date: Tue, 16 Apr 2019 15:04:01 -0700 Subject: [PATCH] [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 --- wifi/java/android/net/wifi/WifiEnterpriseConfig.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wifi/java/android/net/wifi/WifiEnterpriseConfig.java b/wifi/java/android/net/wifi/WifiEnterpriseConfig.java index 950c6f8014611..9d4b837ce2d12 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. + *

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. *

For example, domain_suffix_match=example.com would match test.example.com but would not * match test-example.com. * @param domain The domain value