KeyGenParameterSpec.IsUserAuthenticationValidWhileOnBody Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns true
if the key will remain authorized only until the device is removed from
the user's body, up to the validity duration.
public bool IsUserAuthenticationValidWhileOnBody { [Android.Runtime.Register("isUserAuthenticationValidWhileOnBody", "()Z", "", ApiSince=24)] get; }
[<get: Android.Runtime.Register("isUserAuthenticationValidWhileOnBody", "()Z", "", ApiSince=24)>]
member this.IsUserAuthenticationValidWhileOnBody : bool
Property Value
- Attributes
Remarks
Returns true
if the key will remain authorized only until the device is removed from the user's body, up to the validity duration. This option has no effect on keys that don't have an authentication validity duration, and has no effect if the device lacks an on-body sensor.
Authorization applies only to secret key and private key operations. Public key operations are not restricted.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.