Freigeben über


KeyInfo.IsUserAuthenticationRequired Property

Definition

Returns true if the key is authorized to be used only if the user has been authenticated.

public virtual bool IsUserAuthenticationRequired { [Android.Runtime.Register("isUserAuthenticationRequired", "()Z", "GetIsUserAuthenticationRequiredHandler", ApiSince=23)] get; }
[<get: Android.Runtime.Register("isUserAuthenticationRequired", "()Z", "GetIsUserAuthenticationRequiredHandler", ApiSince=23)>]
member this.IsUserAuthenticationRequired : bool

Property Value

Attributes

Remarks

Returns true if the key is authorized to be used only if the user has been authenticated.

This authorization applies only to secret key and private key operations. Public key operations are not restricted.

Java documentation for android.security.keystore.KeyInfo.isUserAuthenticationRequired().

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