Added in API level 30

IdentityCredentialException


open class IdentityCredentialException : Exception
AlreadyPersonalizedException

Thrown if trying to create a credential which already exists.

CipherSuiteNotSupportedException

Thrown if trying to use a cipher suite which isn't supported.

DocTypeNotSupportedException

Thrown if trying to create a credential with an unsupported document type.

EphemeralPublicKeyNotFoundException

Thrown if the ephemeral public key was not found in the session transcript passed to android.

InvalidReaderSignatureException

Thrown if the reader signature is invalid, or it doesn't contain a certificate chain, or if the signature failed to validate.

InvalidRequestMessageException

Thrown if message with the request doesn't satisfy the requirements documented in android.

MessageDecryptionException

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

NoAuthenticationKeyAvailableException

Thrown if no dynamic authentication keys are available.

SessionTranscriptMismatchException

Thrown when trying use multiple different session transcripts in the same presentation session.

UnknownAuthenticationKeyException

Thrown if trying to certify an unknown dynamic authentication key.

Base class for all Identity Credential exceptions.

Summary

Public constructors

Constructs a new IdentityCredentialException exception.

Constructs a new IdentityCredentialException exception.

Public constructors

IdentityCredentialException

Added in API level 30
IdentityCredentialException(message: String)

Constructs a new IdentityCredentialException exception.

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

IdentityCredentialException

Added in API level 30
IdentityCredentialException(
    message: String,
    cause: Throwable)

Constructs a new IdentityCredentialException exception.

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