to top
AFEX APIs
public class

WifiConfigEnterpriseField

extends Object
implements Parcelable
java.lang.Object
   ↳ com.ardic.android.parcelables.WifiConfigEnterpriseField

Class Overview

This class is implementation of Parcelable Interface for Wi-Fi Configuration enterprise settings

See also:

Summary

Nested Classes
enum WifiConfigEnterpriseField.EapMethod Enumerates Extensible Authentication Protocol Methods  
enum WifiConfigEnterpriseField.Phase2Type Enumerates Extensible Authentication Protocol Phase 2 Methods  
[Expand]
Inherited Constants
From interface android.os.Parcelable
Fields
public static final Creator<WifiConfigEnterpriseField> CREATOR
Public Constructors
WifiConfigEnterpriseField(WifiConfigEnterpriseField.EapMethod eapMethod, WifiConfigEnterpriseField.Phase2Type phase2Type, String anonId, String identity, String eapPasswd, String eapClientCert, String eapCACert, String eapPrivateKeyId)
This constructor was deprecated in API level 1. use WifiConfigEnterpriseField(EapMethod, Phase2Type, String, String, String, String, String) instead for API level 19 or higher.
WifiConfigEnterpriseField(WifiConfigEnterpriseField.EapMethod eapMethod, WifiConfigEnterpriseField.Phase2Type phase2Type, String anonId, String identity, String eapPasswd, String eapClientCert, String eapCACert)
Constructor method for Wi-Fi APN Configuration attributes related to EAP.
Public Methods
int describeContents()
String getAnonId()
Returns EAP method Anonymous Identity.
String getEapCACert()
Returns EAP Certification Authority Certificate.
String getEapClientCert()
Returns EAP Authentication Client User Certificate.
WifiConfigEnterpriseField.EapMethod getEapMethod()
Returns Wi-Fi APN EAP Method
String getEapPasswd()
Returns EAP method user password.
String getEapPrivateKeyId()
This method was deprecated in API level 1. Not used after API level 19
String getIdentity()
Returns EAP user id.
WifiConfigEnterpriseField.Phase2Type getPhase2Type()
Returns Wi-Fi APN Phase 2 type.
void setAnonId(String anonId)
Sets EAP method Anonymous Identity.
void setEapCACert(String eapCACert)
Sets EAP Certification Authority Certificate.
void setEapClientCert(String eapClientCert)
Sets EAP Authentication Client User Certificate
void setEapMethod(WifiConfigEnterpriseField.EapMethod eapMethod)
Sets Wi-Fi APN EAP Method
void setEapPasswd(String eapPasswd)
Sets EAP method user password.
void setEapPrivateKeyId(String eapPrivateKeyId)
This method was deprecated in API level 1. Not used after API level 19
void setIdentity(String identity)
Sets EAP user id.
void setPhase2Type(WifiConfigEnterpriseField.Phase2Type phase2Type)
Sets Wi-Fi APN Phase 2 type.
void writeToParcel(Parcel dest, int flags)
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Fields

public static final Creator<WifiConfigEnterpriseField> CREATOR

Added in API level 1

Public Constructors

public WifiConfigEnterpriseField (WifiConfigEnterpriseField.EapMethod eapMethod, WifiConfigEnterpriseField.Phase2Type phase2Type, String anonId, String identity, String eapPasswd, String eapClientCert, String eapCACert, String eapPrivateKeyId)

Added in API level 1

This constructor was deprecated in API level 1.
use WifiConfigEnterpriseField(EapMethod, Phase2Type, String, String, String, String, String) instead for API level 19 or higher.

Constructor method for Wi-Fi APN Configuration attributes related to EAP.

Parameters
eapMethod WifiConfigEnterpriseField.EapMethod: Wi-Fi APN EAP Method
phase2Type WifiConfigEnterpriseField.Phase2Type: Wi-Fi APN Phase 2 type
anonId String: EAP method Anonymous Identity
identity String
eapPasswd String: EAP method user password
eapClientCert String: EAP Authentication Client User Certificate
eapCACert String: EAP Certification Authority Certificate
eapPrivateKeyId String: EAP Private Key Identity

public WifiConfigEnterpriseField (WifiConfigEnterpriseField.EapMethod eapMethod, WifiConfigEnterpriseField.Phase2Type phase2Type, String anonId, String identity, String eapPasswd, String eapClientCert, String eapCACert)

Added in API level 1

Constructor method for Wi-Fi APN Configuration attributes related to EAP.

Parameters
eapMethod WifiConfigEnterpriseField.EapMethod: Wi-Fi APN EAP Method
phase2Type WifiConfigEnterpriseField.Phase2Type: Wi-Fi APN Phase 2 type
anonId String: EAP method Anonymous Identity
identity String
eapPasswd String: EAP method user password
eapClientCert String: EAP Authentication Client User Certificate
eapCACert String: EAP Certification Authority Certificate

Public Methods

public int describeContents ()

Added in API level 1

Returns
int

public String getAnonId ()

Added in API level 1

Returns EAP method Anonymous Identity.

Returns
String EAP method Anonymous Identity

public String getEapCACert ()

Added in API level 1

Returns EAP Certification Authority Certificate.

Returns
String EAP Certification Authority Certificate.

public String getEapClientCert ()

Added in API level 1

Returns EAP Authentication Client User Certificate.

Returns
String EAP Authentication Client User Certificate

public WifiConfigEnterpriseField.EapMethod getEapMethod ()

Added in API level 1

Returns Wi-Fi APN EAP Method

Returns
WifiConfigEnterpriseField.EapMethod Wi-Fi APN EAP Method

public String getEapPasswd ()

Added in API level 1

Returns EAP method user password.

Returns
String EAP method user password

public String getEapPrivateKeyId ()

Added in API level 1

This method was deprecated in API level 1.
Not used after API level 19

Returns EAP Private Key Identity.

Returns
String EAP Private Key Identity.

public String getIdentity ()

Added in API level 1

Returns EAP user id.

Returns
String EAP user id

public WifiConfigEnterpriseField.Phase2Type getPhase2Type ()

Added in API level 1

Returns Wi-Fi APN Phase 2 type.

Returns
WifiConfigEnterpriseField.Phase2Type Wi-Fi APN Phase 2 type.

public void setAnonId (String anonId)

Added in API level 1

Sets EAP method Anonymous Identity.

Parameters
anonId String: method Anonymous Identity

public void setEapCACert (String eapCACert)

Added in API level 1

Sets EAP Certification Authority Certificate.

Parameters
eapCACert String: EAP Certification Authority Certificate.

public void setEapClientCert (String eapClientCert)

Added in API level 1

Sets EAP Authentication Client User Certificate

Parameters
eapClientCert String: EAP Authentication Client User Certificate

public void setEapMethod (WifiConfigEnterpriseField.EapMethod eapMethod)

Added in API level 1

Sets Wi-Fi APN EAP Method

Parameters
eapMethod WifiConfigEnterpriseField.EapMethod: Wi-Fi APN EAP Method

public void setEapPasswd (String eapPasswd)

Added in API level 1

Sets EAP method user password.

Parameters
eapPasswd String: EAP method user password

public void setEapPrivateKeyId (String eapPrivateKeyId)

Added in API level 1

This method was deprecated in API level 1.
Not used after API level 19

Returns EAP Private Key Identity.

Parameters
eapPrivateKeyId String: EAP Private Key Identity.

public void setIdentity (String identity)

Added in API level 1

Sets EAP user id.

Parameters
identity String: EAP user id

public void setPhase2Type (WifiConfigEnterpriseField.Phase2Type phase2Type)

Added in API level 1

Sets Wi-Fi APN Phase 2 type.

Parameters
phase2Type WifiConfigEnterpriseField.Phase2Type: Wi-Fi Phase 2 type.

public void writeToParcel (Parcel dest, int flags)

Added in API level 1

Parameters
dest Parcel
flags int