Added in API level 30
Deprecated in API level 10000

MessageDecryptionException


public class MessageDecryptionException
extends IdentityCredentialException

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


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

Thrown when failing to decrypt a message from the reader device.

Summary

Public constructors

MessageDecryptionException(String message)

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

MessageDecryptionException(String message, Throwable cause)

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

Inherited methods

Public constructors

MessageDecryptionException

Added in API level 30
public MessageDecryptionException (String message)

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

Constructs a new MessageDecryptionException exception.

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

MessageDecryptionException

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

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

Constructs a new MessageDecryptionException exception.

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

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