語言

KeyStoreException.ErrorUserAuthenticationRequired 欄位

定義

警告

This constant will be removed in the future version. Use Android.Security.KeyStoreExceptionError enum directly instead of this field.

表示無法使用該金鑰,因為使用者必須先進行認證。

[Android.Runtime.Register("ERROR_USER_AUTHENTICATION_REQUIRED", ApiSince=33)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Security.KeyStoreExceptionError enum directly instead of this field.", true)]
public const Android.Security.KeyStoreExceptionError ErrorUserAuthenticationRequired = 2;
[<Android.Runtime.Register("ERROR_USER_AUTHENTICATION_REQUIRED", ApiSince=33)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Security.KeyStoreExceptionError enum directly instead of this field.", true)>]
val mutable ErrorUserAuthenticationRequired : Android.Security.KeyStoreExceptionError

欄位值

Value = 2
屬性

備註

表示無法使用該金鑰,因為使用者必須先進行認證。 參見 android.security.keystore.KeyGenParameterSpec.Builder#setUserAuthenticationRequired(boolean)。

Java 文件 android.security.KeyStoreException.ERROR_USER_AUTHENTICATION_REQUIRED。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於