語言

KeyGenParameterSpec.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.KeyGenParameterSpec.isUserAuthenticationValidWhileOnBody()。

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

適用於