Added in API level 30
Deprecated in API level 10000

NoAuthenticationKeyAvailableException


public class NoAuthenticationKeyAvailableException
extends IdentityCredentialException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ android.security.identity.IdentityCredentialException
         ↳ android.security.identity.NoAuthenticationKeyAvailableException


This class was deprecated in API level 10000.
Use java.security.KeyStore with the Android hardware-backed keystore instead.

Thrown if no dynamic authentication keys are available.

Summary

Public constructors

NoAuthenticationKeyAvailableException(String message)

This constructor is deprecated. Use java.security.KeyStore with the Android hardware-backed keystore instead.

NoAuthenticationKeyAvailableException(String message, Throwable cause)

This constructor is deprecated. Use java.security.KeyStore with the Android hardware-backed keystore instead.

Inherited methods

Public constructors

NoAuthenticationKeyAvailableException

Added in API level 30
public NoAuthenticationKeyAvailableException (String message)

This constructor is deprecated.
Use java.security.KeyStore with the Android hardware-backed keystore instead.

Constructs a new NoAuthenticationKeyAvailableException exception.

Parameters
message String: the detail message.
This value cannot be null.

NoAuthenticationKeyAvailableException

Added in API level 30
public NoAuthenticationKeyAvailableException (String message, 
                Throwable cause)

This constructor is deprecated.
Use java.security.KeyStore with the Android hardware-backed keystore instead.

Constructs a new NoAuthenticationKeyAvailableException exception.

Parameters
message String: the detail message.
This value cannot be null.

cause Throwable: the cause.
This value cannot be null.