Share via


WifiEnterpriseConfig Class

Definition

Enterprise configuration details for Wi-Fi.

[Android.Runtime.Register("android/net/wifi/WifiEnterpriseConfig", DoNotGenerateAcw=true)]
public class WifiEnterpriseConfig : Java.Lang.Object, Android.OS.IParcelable, IDisposable, Java.Interop.IJavaPeerable
[<Android.Runtime.Register("android/net/wifi/WifiEnterpriseConfig", DoNotGenerateAcw=true)>]
type WifiEnterpriseConfig = class
    inherit Object
    interface IParcelable
    interface IJavaObject
    interface IDisposable
    interface IJavaPeerable
Inheritance
WifiEnterpriseConfig
Attributes
Implements

Remarks

Enterprise configuration details for Wi-Fi. Stores details about the EAP method and any associated credentials.

Java documentation for android.net.wifi.WifiEnterpriseConfig.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Constructors

WifiEnterpriseConfig()
WifiEnterpriseConfig(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

WifiEnterpriseConfig(WifiEnterpriseConfig)

Copy constructor.

Fields

ExtraWapiAsCertificateData

Intent extra: data for WAPI AS certificates

ExtraWapiAsCertificateName

Intent extra: name for WAPI AS certificates

ExtraWapiUserCertificateData

Intent extra: data for WAPI USER certificates

ExtraWapiUserCertificateName

Intent extra: name for WAPI USER certificates

TlsV10
Obsolete.

Constant definition for TLS v1.

TlsV11
Obsolete.

Constant definition for TLS v1.

TlsV12
Obsolete.

Constant definition for TLS v1.

TlsV13
Obsolete.

Constant definition for TLS v1.

WapiAsCertificate

Key prefix for WAPI AS certificates.

WapiUserCertificate

Key prefix for WAPI user certificates.

Properties

AltSubjectMatch

Get alternate subject match -or- Set alternate subject match.

AnonymousIdentity

Get the anonymous identity -or- Set anonymous identity.

CaCertificate

Get CA certificate. -or- Specify a X.

Class

Returns the runtime class of this Object.

(Inherited from Object)
ClientCertificate

Get client certificate

ClientKeyPairAlias

Get KeyChain alias to use for client authentication. -or- Specify a key pair via KeyChain alias for client authentication.

ClientPrivateKey

Get the client private key as supplied in #setClientKeyEntryWithCertificateChain, or null if unset.

Creator
DecoratedIdentityPrefix

Get the decorated identity prefix. -or- Set a prefix for a decorated identity as per RFC 7542.

DomainSuffixMatch

Get the domain_suffix_match value. -or- Set the domain_suffix_match directive on wpa_supplicant.

EapMethod

Get the eap method. -or- Set the EAP authentication method.

Handle

The handle to the underlying Android instance.

(Inherited from Object)
HasCaCertificate

Indicates whether or not this enterprise config has a CA certificate configured.

Identity

Get the identity -or- Set the identity

IsAuthenticationSimBased

Utility method to determine whether the configuration's authentication method is SIM-based.

IsEapMethodServerCertUsed

Determines whether an Enterprise configuration's EAP method requires a Root CA certification to validate the authentication server i.

IsServerCertValidationEnabled

Determines whether an Enterprise configuration enables server certificate validation.

IsTrustOnFirstUseEnabled

Indicates whether or not Trust On First Use (TOFU) is enabled.

JniIdentityHashCode (Inherited from Object)
JniPeerMembers
MinimumTlsVersion

Get the minimum TLS version for TLS-based EAP methods. -or- Set the minimum TLS version for TLS-based EAP methods.

Password

Get the password. -or- Set the password.

PeerReference (Inherited from Object)
Phase2Method

Get the phase 2 authentication method. -or- Set Phase 2 authentication method.

Plmn

Get plmn (Public Land Mobile Network) for Passpoint credential; see #setPlmn (String) for more information -or- Set plmn (Public Land Mobile Network) of the provider of Passpoint credential

Realm

Get realm for Passpoint credential; see #setRealm(String) for more information -or- Set realm for Passpoint credential; realm identifies a set of networks where your Passpoint credential can be used

SubjectMatch

Get subject match (deprecated) -or- Set subject match (deprecated).

ThresholdClass

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

ThresholdType

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Methods

Clone()

Creates and returns a copy of this object.

(Inherited from Object)
DescribeContents()

Describe the kinds of special objects contained in this Parcelable's marshalled representation.

Dispose() (Inherited from Object)
Dispose(Boolean) (Inherited from Object)
EnableTrustOnFirstUse(Boolean)

Enable Trust On First Use.

Equals(Object)

Indicates whether some other object is "equal to" this one.

(Inherited from Object)
GetCaCertificates()

Get CA certificates.

GetClientCertificateChain()

Get the complete client certificate chain in the same order as it was last supplied.

GetHashCode()

Returns a hash code value for the object.

(Inherited from Object)
JavaFinalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

(Inherited from Object)
Notify()

Wakes up a single thread that is waiting on this object's monitor.

(Inherited from Object)
NotifyAll()

Wakes up all threads that are waiting on this object's monitor.

(Inherited from Object)
SetCaCertificates(X509Certificate[])

Specify a list of X.

SetClientKeyEntry(IPrivateKey, X509Certificate)

Specify a private key and client certificate for client authorization.

SetClientKeyEntryWithCertificateChain(IPrivateKey, X509Certificate[])

Specify a private key and client certificate chain for client authorization.

SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
ToArray<T>() (Inherited from Object)
ToString()

Returns a string representation of the object.

(Inherited from Object)
UnregisterFromRuntime() (Inherited from Object)
Wait()

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>.

(Inherited from Object)
Wait(Int64, Int32)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)
Wait(Int64)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)
WriteToParcel(Parcel, ParcelableWriteFlags)

Flatten this object in to a Parcel.

Explicit Interface Implementations

IJavaPeerable.Disposed() (Inherited from Object)
IJavaPeerable.DisposeUnlessReferenced() (Inherited from Object)
IJavaPeerable.Finalized() (Inherited from Object)
IJavaPeerable.JniManagedPeerState (Inherited from Object)
IJavaPeerable.SetJniIdentityHashCode(Int32) (Inherited from Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) (Inherited from Object)
IJavaPeerable.SetPeerReference(JniObjectReference) (Inherited from Object)

Extension Methods

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable)

Gets the JNI name of the type of the instance self.

JavaAs<TResult>(IJavaPeerable)

Try to coerce self to type TResult, checking that the coercion is valid on the Java side.

TryJavaCast<TResult>(IJavaPeerable, TResult)

Try to coerce self to type TResult, checking that the coercion is valid on the Java side.

Applies to