Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.
added in API level 23

UserNotAuthenticatedException

public class UserNotAuthenticatedException
extends InvalidKeyException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.security.GeneralSecurityException
         ↳ java.security.KeyException
           ↳ java.security.InvalidKeyException
             ↳ android.security.keystore.UserNotAuthenticatedException


Indicates that a cryptographic operation could not be performed because the user has not been authenticated recently enough. Authenticating the user will resolve this issue.

Summary

Public constructors

UserNotAuthenticatedException()

Constructs a new UserNotAuthenticatedException without detail message and cause.

UserNotAuthenticatedException(String message)

Constructs a new UserNotAuthenticatedException with the provided detail message and no cause.

UserNotAuthenticatedException(String message, Throwable cause)

Constructs a new UserNotAuthenticatedException with the provided detail message and cause.

Inherited methods

Public constructors

UserNotAuthenticatedException

added in API level 23
public UserNotAuthenticatedException ()

Constructs a new UserNotAuthenticatedException without detail message and cause.

UserNotAuthenticatedException

added in API level 23
public UserNotAuthenticatedException (String message)

Constructs a new UserNotAuthenticatedException with the provided detail message and no cause.

Parameters
message String

UserNotAuthenticatedException

added in API level 23
public UserNotAuthenticatedException (String message, 
                Throwable cause)

Constructs a new UserNotAuthenticatedException with the provided detail message and cause.

Parameters
message String

cause Throwable