Class CardServiceInvalidCredentialException

  • All Implemented Interfaces:
    java.io.Serializable

    public class CardServiceInvalidCredentialException
    extends CardServiceUsageException
    Exception thrown when a credential that was provided is invalid. An application's credential may be invalid because it is not in a format that can be interpreted by the service, or if it is not accepted by the smartcard. A smartcard's credential is invalid if it does not correspond with a credential provided by the application. This may be detected if the smartcard has to append a cryptographic MAC (message authentication code) to it's response, and the verification of that MAC fails. Of course, this may also happen if the smartcard's response was modified on it's way to the service.
    Author:
    Thomas Schaeck (schaeck@de.ibm.com), Roland Weber (rolweber@de.ibm.com)
    See Also:
    Serialized Form
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • CardServiceInvalidCredentialException

        public CardServiceInvalidCredentialException()
        Creates a new exception without detail message.
      • CardServiceInvalidCredentialException

        public CardServiceInvalidCredentialException​(java.lang.String msg)
        Creates a new exception with the given detail message.
        Parameters:
        msg - a string indicating why this exception is thrown