語言

IdentityCredential.SetAllowUsingExhaustedKeys(Boolean) 方法

定義

設定若無其他金鑰可用,是否允許使用已超過的認證金鑰。

[Android.Runtime.Register("setAllowUsingExhaustedKeys", "(Z)V", "GetSetAllowUsingExhaustedKeys_ZHandler", ApiSince=30)]
public abstract void SetAllowUsingExhaustedKeys(bool allowUsingExhaustedKeys);
[<Android.Runtime.Register("setAllowUsingExhaustedKeys", "(Z)V", "GetSetAllowUsingExhaustedKeys_ZHandler", ApiSince=30)>]
abstract member SetAllowUsingExhaustedKeys : bool -> unit

參數

allowUsingExhaustedKeys
Boolean

若無其他金鑰可用,是否允許使用已超過次數的認證金鑰。

屬性

備註

設定若無其他金鑰可用,是否允許使用已超過的認證金鑰。 必須在呼叫 #getEntries(byte[], Map, byte[], byte[])之前先呼叫此函數。

預設情況下,這個設定為 true。

此會員已被棄用。 請改用 PresentationSession。

Java 文件 android.security.identity.IdentityCredential.setAllowUsingExhaustedKeys(boolean)。

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

適用於