public class OSUManager extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CERT_CLT_CA_ALIAS |
static String |
CERT_CLT_CERT_ALIAS |
static String |
CERT_CLT_KEY_ALIAS |
static String |
CERT_POLICY_ALIAS |
static String |
CERT_REM_ALIAS |
static String |
CERT_SHARED_ALIAS |
static String |
CERT_WFA_ALIAS |
static int |
FLOW_POLICY |
static int |
FLOW_PROVISIONING |
static int |
FLOW_REMEDIATION |
static Locale |
LOCALE |
static boolean |
R2_ENABLED |
static boolean |
R2_MOCK |
static String |
TAG |
Constructor and Description |
---|
OSUManager(Context context) |
public static final String TAG
public static final boolean R2_ENABLED
public static final boolean R2_MOCK
public static final int FLOW_PROVISIONING
public static final int FLOW_REMEDIATION
public static final int FLOW_POLICY
public static final String CERT_WFA_ALIAS
public static final String CERT_REM_ALIAS
public static final String CERT_POLICY_ALIAS
public static final String CERT_SHARED_ALIAS
public static final String CERT_CLT_CERT_ALIAS
public static final String CERT_CLT_KEY_ALIAS
public static final String CERT_CLT_CA_ALIAS
public static final Locale LOCALE
public OSUManager(Context context)
public KeyStore getKeyStore()
public void recheckTimers()
public void setOSUSelection(int osuID)
public void networkConfigChange(WifiConfiguration configuration)
public void networkConnectEvent(WifiInfo wifiInfo)
public void wifiStateChange(boolean on)
public void setActiveNetwork(WifiConfiguration wifiConfiguration, Network network)
public boolean isOSU(String ssid)
public void tickleIconCache(boolean all)
public void pushScanResults(Collection<ScanResult> scanResults)
public void deauth(long bssid, boolean ess, int delay, String url) throws MalformedURLException
MalformedURLException
public void wnmRemediate(long bssid, String url, PasspointMatch match) throws IOException, SAXException
IOException
SAXException
public void remediate(HomeSP homeSP, boolean policy) throws IOException, SAXException
IOException
SAXException
public MOTree getMOTree(HomeSP homeSP) throws IOException
IOException
public void notifyIconReceived(long bssid, String fileName, byte[] data)
public void doIconQuery(long bssid, String fileName)
protected URL prepareUserInput(String spName) throws IOException
IOException
protected boolean startUserInput(URL target, Network network) throws IOException
IOException
public String notifyUser(OSUOperationStatus status, String message, String spName)
public void provisioningFailed(String spName, String message, HomeSP homeSP, int flowType)
public void provisioningComplete(OSUInfo osuInfo, MOData moData, Map<OSUCertType,List<X509Certificate>> certs, PrivateKey privateKey, Network osuNetwork)
public void spDeleted(String fqdn)
public void remediationComplete(HomeSP homeSP, Collection<MOData> mods, Map<OSUCertType,List<X509Certificate>> certs, PrivateKey privateKey) throws IOException, GeneralSecurityException
IOException
GeneralSecurityException
protected OMADMAdapter getOMADMAdapter()