Class InvalidCardSignatureException

  • All Implemented Interfaces:
    java.io.Serializable

    public final class InvalidCardSignatureException
    extends java.lang.RuntimeException
    Indicates that the card signature is incorrect.

    In the case of a card transaction secured by "symmetrical" cryptography (e.g. SAM), this indicates that the card has correctly closed the secure session, but the card session is not authentic because the MAC of the card is incorrect. This can happen in the following cases:

    • The "Digest Authenticate" command status is 6988h;
    • The "SV Check" command status is 6988h;
    In the case of a card transaction secured by "asymmetrical" cryptography (e.g. PKI), this indicates only that the card signature is incorrect.
    Since:
    1.2.0
    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

      • InvalidCardSignatureException

        public InvalidCardSignatureException​(java.lang.String message)
        Parameters:
        message - The message to identify the exception context.
        Since:
        1.2.0
      • InvalidCardSignatureException

        public InvalidCardSignatureException​(java.lang.String message,
                                             java.lang.Throwable cause)
        Encapsulates a lower level exception.
        Parameters:
        message - Message to identify the exception context.
        cause - The cause.
        Since:
        1.2.0