Sdílet prostřednictvím


KeyGenParameterSpec.IsUserAuthenticationRequired Property

Definition

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

public bool IsUserAuthenticationRequired { [Android.Runtime.Register("isUserAuthenticationRequired", "()Z", "", ApiSince=23)] get; }
[<get: Android.Runtime.Register("isUserAuthenticationRequired", "()Z", "", 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.KeyGenParameterSpec.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