IdentityCredential.SetAllowUsingExhaustedKeys(Boolean) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
設定若無其他金鑰可用,是否允許使用已超過的認證金鑰。
[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 所創建與分享的作品,並依授權條款所描述的使用進行修改。