Class WiFiEapConfiguration
Definition
- Assembly:
- Tizen.Network.WiFi.dll
A class for managing the EAP configuration.
public class WiFiEapConfiguration
- Inheritance
-
objectWiFiEapConfiguration
Properties
View SourceAnonymousIdentify
The anonymous identity of the access point (AP).
Declaration
public string AnonymousIdentify { get; set; }
Property Value
Type | Description |
---|---|
string | Represents the anonymous identity of the access point. |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | Thrown while setting this value when Wi-Fi is not supported. |
System.ArgumentException | Thrown while setting this property due to an invalid parameter. |
System.InvalidOperationException | Thrown while setting this value due to an invalid operation. |
AuthenticationType
The type of EAP phase2 authentication of the Wi-Fi.
Declaration
public WiFiAuthenticationType AuthenticationType { get; set; }
Property Value
Type | Description |
---|---|
WiFiAuthenticationType | Authentication type of the Wi-Fi. |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | Thrown while setting this value when Wi-Fi is not supported. |
System.ArgumentException | Thrown while setting this property due to an invalid parameter. |
System.InvalidOperationException | Thrown while setting this value due to an invalid operation. |
CaCertificationFile
The file path of CA certificate of EAP.
Declaration
public string CaCertificationFile { get; set; }
Property Value
Type | Description |
---|---|
string | CA certification file of EAP. |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | Thrown while setting this value when Wi-Fi is not supported. |
System.ArgumentException | Thrown while setting this property due to an invalid parameter. |
System.InvalidOperationException | Thrown while setting this value due to an invalid operation. |
EapType
The EAP type of the Wi-Fi.
Declaration
public WiFiEapType EapType { get; set; }
Property Value
Type | Description |
---|---|
WiFiEapType | Type of EAP. |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | Thrown while setting this value when Wi-Fi is not supported. |
System.ArgumentException | Thrown while setting this property due to an invalid parameter. |
System.InvalidOperationException | Thrown while setting this value due to an invalid operation. |
Identity
The identity of the access point (AP).
Declaration
public string Identity { get; set; }
Property Value
Type | Description |
---|---|
string | Represents the identity of the access point. |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | Thrown while setting this value when Wi-Fi is not supported. |
System.ArgumentException | Thrown while setting this property due to an invalid parameter. |
System.InvalidOperationException | Thrown while setting this value due to an invalid operation. |
SubjectMatch
The subject match of the access point (AP).
Declaration
public string SubjectMatch { get; set; }
Property Value
Type | Description |
---|---|
string | Represents the subject match of the AP. |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | Thrown while setting this value when Wi-Fi is not supported. |
System.ArgumentException | Thrown while setting this property due to an invalid parameter. |
System.InvalidOperationException | Thrown while setting this value due to an invalid operation. |
Methods
View SourceGetClientCertFile()
Gets the access point client certificate file from the configuration.
Declaration
public string GetClientCertFile()
Returns
Type | Description |
---|---|
string | The certification authority (CA) certificates file of the access point. |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | Thrown when the Wi-Fi is not supported. |
System.ArgumentException | Thrown when the method failed due to an invalid parameter. |
System.InvalidOperationException | Thrown when the method failed due to an invalid operation. |
SetClientCertFile(string, string)
Sets the access point client certificate file to configuration.
Declaration
public void SetClientCertFile(string privateKey, string clientCert)
Parameters
Type | Name | Description |
---|---|---|
string | privateKey | The private key file. |
string | clientCert | The certification authority(CA) certifies the files of access points. |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | Thrown when the Wi-Fi is not supported. |
System.ArgumentException | Thrown when the method failed due to an invalid parameter. |
System.InvalidOperationException | Thrown when the method failed due to an invalid operation. |