語言

KeyProtection.IsUserAuthenticationValidWhileOnBody 屬性

定義

如果裝置從使用者身上移除時,金鑰會被取消授權,則會回傳 true 。

public bool IsUserAuthenticationValidWhileOnBody { [Android.Runtime.Register("isUserAuthenticationValidWhileOnBody", "()Z", "", ApiSince=24)] get; }
[<get: Android.Runtime.Register("isUserAuthenticationValidWhileOnBody", "()Z", "", ApiSince=24)>]
member this.IsUserAuthenticationValidWhileOnBody : bool

屬性值

屬性

備註

如果裝置從使用者身上移除時,金鑰會被取消授權,則會回傳 true 。 此選項對沒有驗證有效期的金鑰無影響,若裝置沒有本體感應器則無效。

授權僅適用於秘密金鑰與私鑰操作。 公鑰操作不受限制。

Java 文件 android.security.keystore.KeyProtection.isUserAuthenticationValidWhileOnBody()。

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

適用於