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