IdentityCredentialException


public class IdentityCredentialException extends Exception

Known direct subclasses
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 getEntries.

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 getEntries.

MessageDecryptionException

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

NoAuthenticationKeyAvailableException

Thrown if no dynamic authentication keys are available.

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.

IdentityCredentialException(
    @NonNull String message,
    @NonNull Throwable cause
)

Constructs a new IdentityCredentialException exception.

Inherited methods

From java.lang.Throwable
synchronized final void
synchronized Throwable
synchronized Throwable
String
String
StackTraceElement[]
synchronized final Throwable[]
synchronized Throwable
void
void
setStackTrace(StackTraceElement[] stackTrace)
String

Public constructors

IdentityCredentialException

Added in 1.0.0-alpha04
public IdentityCredentialException(@NonNull String message)

Constructs a new IdentityCredentialException exception.

Parameters
@NonNull String message

the detail message.

IdentityCredentialException

Added in 1.0.0-alpha04
public IdentityCredentialException(
    @NonNull String message,
    @NonNull Throwable cause
)

Constructs a new IdentityCredentialException exception.

Parameters
@NonNull String message

the detail message.

@NonNull Throwable cause

the cause.