KeyGenParameterSpec.UserAuthenticationType Property

Definition

Gets the modes of authentication that can authorize use of this key.

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

Property Value

integer representing the bitwse OR of all acceptable authentication types for the key.

Attributes

Remarks

Gets the modes of authentication that can authorize use of this key. 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.KeyGenParameterSpec.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