CredentialDataRequest.Builder.SetAllowUsingExhaustedKeys(Boolean) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
設定是否可以使用耗盡的認證金鑰。
[Android.Runtime.Register("setAllowUsingExhaustedKeys", "(Z)Landroid/security/identity/CredentialDataRequest$Builder;", "", ApiSince=33)]
public Android.Security.Identity.CredentialDataRequest.Builder SetAllowUsingExhaustedKeys(bool allowUsingExhaustedKeys);
[<Android.Runtime.Register("setAllowUsingExhaustedKeys", "(Z)Landroid/security/identity/CredentialDataRequest$Builder;", "", ApiSince=33)>]
member this.SetAllowUsingExhaustedKeys : bool -> Android.Security.Identity.CredentialDataRequest.Builder
參數
- allowUsingExhaustedKeys
- Boolean
是否允許使用次數超過的認證金鑰,當沒有其他金鑰可用時。
傳回
這個建築商。
- 屬性
備註
預設為 true。 當認證金鑰無法續期時,允許用盡金鑰可能有用,但重複使用金鑰可能會增加隱私風險。
的 android.security.identity.CredentialDataRequest.Builder.setAllowUsingExhaustedKeys(boolean)Java 檔。
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。