次の方法で共有


KeyInfo.IsUserConfirmationRequired Property

Definition

Returns true if the key is authorized to be used only for messages confirmed by the user.

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

Property Value

Attributes

Remarks

Returns true if the key is authorized to be used only for messages confirmed by the user.

Confirmation is separate from user authentication (see #isUserAuthenticationRequired()). Keys can be created that require confirmation but not user authentication, or user authentication but not confirmation, or both. Confirmation verifies that some user with physical possession of the device has approved a displayed message. User authentication verifies that the correct user is present and has 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.isUserConfirmationRequired().

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