Class InvalidCardSignatureException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.eclipse.keypop.calypso.card.transaction.InvalidCardSignatureException
All Implemented Interfaces:
Serializable

public final class InvalidCardSignatureException extends 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:
  • Constructor Details

    • InvalidCardSignatureException

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

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