TelephonyManager.GetIccAuthentication(UiccApplicationType, AutheenticationType, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the response of authentication for the default subscription.
[Android.Runtime.Register("getIccAuthentication", "(IILjava/lang/String;)Ljava/lang/String;", "GetGetIccAuthentication_IILjava_lang_String_Handler", ApiSince=24)]
public virtual string? GetIccAuthentication (Android.Telephony.UiccApplicationType appType, Android.Telephony.AutheenticationType authType, string? data);
[<Android.Runtime.Register("getIccAuthentication", "(IILjava/lang/String;)Ljava/lang/String;", "GetGetIccAuthentication_IILjava_lang_String_Handler", ApiSince=24)>]
abstract member GetIccAuthentication : Android.Telephony.UiccApplicationType * Android.Telephony.AutheenticationType * string -> string
override this.GetIccAuthentication : Android.Telephony.UiccApplicationType * Android.Telephony.AutheenticationType * string -> string
Parameters
- appType
- UiccApplicationType
the icc application type, like #APPTYPE_USIM
- authType
- AutheenticationType
the authentication type, #AUTHTYPE_EAP_AKA or
#AUTHTYPE_EAP_SIM
- data
- String
authentication challenge data, base64 encoded. See 3GPP TS 31.102 7.1.2 for more details.
Returns
the response of authentication. This value will be null in the following cases: Authentication error, incorrect MAC Authentication error, security context not supported Key freshness failure Authentication error, no memory space available Authentication error, no memory space available in EFMUK
- Attributes
Remarks
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.