KeyInfo.UserAuthenticationType Property

Definition

Gets the acceptable user authentication types for which this key can be authorized to be used.

public virtual int UserAuthenticationType { [Android.Runtime.Register("getUserAuthenticationType", "()I", "GetGetUserAuthenticationTypeHandler", ApiSince=30)] get; }
[<get: Android.Runtime.Register("getUserAuthenticationType", "()I", "GetGetUserAuthenticationTypeHandler", ApiSince=30)>]
member this.UserAuthenticationType : int

Property Value

integer representing the accepted forms of user authentication for this key

Attributes

Remarks

Gets the acceptable user authentication types for which this key can be authorized to be used. This has effect only if user authentication is required (see #isUserAuthenticationRequired()).

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

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

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