Condividi tramite


KeyProtection.IsUnlockedDeviceRequired Property

Definition

Returns true if the screen must be unlocked for this key to be used for decryption or signing.

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

Property Value

Attributes

Remarks

Returns true if the screen must be unlocked for this key to be used for decryption or signing. Encryption and signature verification will still be available when the screen is locked.

Java documentation for android.security.keystore.KeyProtection.isUnlockedDeviceRequired().

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.

Applies to