Stay organized with collections
Save and categorize content based on your preferences.
EapTtlsConfig
class EapTtlsConfig : EapSessionConfig.EapMethodConfig
EapTtlsConfig represents the configs needed for an EAP-TTLS session.
Summary
Inherited constants |
From class EapMethodConfig
Int |
EAP_TYPE_AKA
EAP-Type value for the EAP-AKA method.
To include EAP-AKA as an authentication method, see android.net.eap.EapSessionConfig.Builder#setEapAkaConfig(int,int) .
|
Int |
EAP_TYPE_AKA_PRIME
EAP-Type value for the EAP-AKA' method.
To include EAP-AKA' as an authentication method, see android.net.eap.EapSessionConfig.Builder#setEapAkaPrimeConfig(int,int,java.lang.String,boolean) .
|
Int |
EAP_TYPE_MSCHAP_V2
EAP-Type value for the EAP-MS-CHAPv2 method.
To include EAP-MS-CHAPv2 as an authentication method, see android.net.eap.EapSessionConfig.Builder#setEapMsChapV2Config(java.lang.String,java.lang.String) .
|
Int |
EAP_TYPE_SIM
EAP-Type value for the EAP-SIM method.
To include EAP-SIM as an authentication method, see android.net.eap.EapSessionConfig.Builder#setEapSimConfig(int,int) .
|
Int |
EAP_TYPE_TTLS
EAP-Type value for the EAP-TTLS method.
To include EAP-TTLS as an authentication method, see android.net.eap.EapSessionConfig.Builder#setEapTtlsConfig(java.security.cert.X509Certificate,android.net.eap.EapSessionConfig) .
|
|
Public methods |
open EapSessionConfig |
Retrieves the inner EAP session config
|
open X509Certificate? |
Retrieves the provided CA certificate for validating the remote certificate(s)
|
Public methods
getInnerEapSessionConfig
open fun getInnerEapSessionConfig(): EapSessionConfig
Retrieves the inner EAP session config
Return |
EapSessionConfig |
an EapSessionConfig representing the config for tunneled EAP authentication This value cannot be null . |
getServerCaCert
open fun getServerCaCert(): X509Certificate?
Retrieves the provided CA certificate for validating the remote certificate(s)
Return |
X509Certificate? |
the CA certificate for validating the received server certificate or null if the system default is preferred |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# EapSessionConfig.EapTtlsConfig\n\nAdded in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nEapTtlsConfig\n=============\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/net/eap/EapSessionConfig.EapTtlsConfig \"View this page in Java\") \n\n```\nclass EapTtlsConfig : EapSessionConfig.EapMethodConfig\n```\n\n|---|---|-----------------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) |||\n| ↳ | [android.net.eap.EapSessionConfig.EapMethodConfig](/reference/kotlin/android/net/eap/EapSessionConfig.EapMethodConfig) ||\n| | ↳ | [android.net.eap.EapSessionConfig.EapTtlsConfig](#) |\n\nEapTtlsConfig represents the configs needed for an EAP-TTLS session.\n\nSummary\n-------\n\n| Inherited constants ||\n|---|---|\n| From class [EapMethodConfig](/reference/kotlin/android/net/eap/EapSessionConfig.EapMethodConfig) |----------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EAP_TYPE_AKA](/reference/kotlin/android/net/eap/EapSessionConfig.EapMethodConfig#EAP_TYPE_AKA:kotlin.Int) EAP-Type value for the EAP-AKA method. To include EAP-AKA as an authentication method, see [android.net.eap.EapSessionConfig.Builder#setEapAkaConfig(int,int)](/reference/kotlin/android/net/eap/EapSessionConfig.Builder#setEapAkaConfig(kotlin.Int,%20kotlin.Int)). \u003cbr /\u003e | | [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EAP_TYPE_AKA_PRIME](/reference/kotlin/android/net/eap/EapSessionConfig.EapMethodConfig#EAP_TYPE_AKA_PRIME:kotlin.Int) EAP-Type value for the EAP-AKA' method. To include EAP-AKA' as an authentication method, see [android.net.eap.EapSessionConfig.Builder#setEapAkaPrimeConfig(int,int,java.lang.String,boolean)](/reference/kotlin/android/net/eap/EapSessionConfig.Builder#setEapAkaPrimeConfig(kotlin.Int,%20kotlin.Int,%20kotlin.String,%20kotlin.Boolean)). \u003cbr /\u003e | | [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EAP_TYPE_MSCHAP_V2](/reference/kotlin/android/net/eap/EapSessionConfig.EapMethodConfig#EAP_TYPE_MSCHAP_V2:kotlin.Int) EAP-Type value for the EAP-MS-CHAPv2 method. To include EAP-MS-CHAPv2 as an authentication method, see [android.net.eap.EapSessionConfig.Builder#setEapMsChapV2Config(java.lang.String,java.lang.String)](/reference/kotlin/android/net/eap/EapSessionConfig.Builder#setEapMsChapV2Config(kotlin.String,%20kotlin.String)). \u003cbr /\u003e | | [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EAP_TYPE_SIM](/reference/kotlin/android/net/eap/EapSessionConfig.EapMethodConfig#EAP_TYPE_SIM:kotlin.Int) EAP-Type value for the EAP-SIM method. To include EAP-SIM as an authentication method, see [android.net.eap.EapSessionConfig.Builder#setEapSimConfig(int,int)](/reference/kotlin/android/net/eap/EapSessionConfig.Builder#setEapSimConfig(kotlin.Int,%20kotlin.Int)). \u003cbr /\u003e | | [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [EAP_TYPE_TTLS](/reference/kotlin/android/net/eap/EapSessionConfig.EapMethodConfig#EAP_TYPE_TTLS:kotlin.Int) EAP-Type value for the EAP-TTLS method. To include EAP-TTLS as an authentication method, see [android.net.eap.EapSessionConfig.Builder#setEapTtlsConfig(java.security.cert.X509Certificate,android.net.eap.EapSessionConfig)](/reference/kotlin/android/net/eap/EapSessionConfig.Builder#setEapTtlsConfig(java.security.cert.X509Certificate,%20android.net.eap.EapSessionConfig)). \u003cbr /\u003e | ||\n\n| Public methods ||\n|-----------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------|\n| open [EapSessionConfig](/reference/kotlin/android/net/eap/EapSessionConfig) | [getInnerEapSessionConfig](#getInnerEapSessionConfig())`()` Retrieves the inner EAP session config |\n| open [X509Certificate](../../../java/security/cert/X509Certificate.html#)? | [getServerCaCert](#getServerCaCert())`()` Retrieves the provided CA certificate for validating the remote certificate(s) |\n\n| Inherited functions ||\n|---|---|\n| From class [EapMethodConfig](/reference/kotlin/android/net/eap/EapSessionConfig.EapMethodConfig) |----------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------| | [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [getMethodType](/reference/kotlin/android/net/eap/EapSessionConfig.EapMethodConfig#getMethodType())`()` Retrieves the EAP method type \u003cbr /\u003e | ||\n\nPublic methods\n--------------\n\n### getInnerEapSessionConfig\n\nAdded in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nopen fun getInnerEapSessionConfig(): EapSessionConfig\n```\n\nRetrieves the inner EAP session config\n\n| Return ||\n|------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------|\n| [EapSessionConfig](/reference/kotlin/android/net/eap/EapSessionConfig) | an EapSessionConfig representing the config for tunneled EAP authentication This value cannot be `null`. |\n\n### getServerCaCert\n\nAdded in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nopen fun getServerCaCert(): X509Certificate?\n```\n\nRetrieves the provided CA certificate for validating the remote certificate(s)\n\n| Return ||\n|-----------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------|\n| [X509Certificate](../../../java/security/cert/X509Certificate.html#)? | the CA certificate for validating the received server certificate or null if the system default is preferred |"]]