Package org.jmrtd

Class BACDeniedException

  • All Implemented Interfaces:
    java.io.Serializable

    @Deprecated
    public class BACDeniedException
    extends net.sf.scuba.smartcards.CardServiceException
    Deprecated.
    Exception for signaling failed BAC.
    Since:
    0.4.8
    Version:
    $Revision: 1851 $
    Author:
    The JMRTD team
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class net.sf.scuba.smartcards.CardServiceException

        SW_NONE
    • Constructor Summary

      Constructors 
      Constructor Description
      BACDeniedException​(java.lang.String msg, BACKeySpec bacKey, int sw)
      Deprecated.
      Creates an exception.
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      BACKeySpec getBACKey()
      Deprecated.
      Returns the BAC key that was tried before BAC failed.
      • Methods inherited from class net.sf.scuba.smartcards.CardServiceException

        getMessage, getSW
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, 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

      • BACDeniedException

        public BACDeniedException​(java.lang.String msg,
                                  BACKeySpec bacKey,
                                  int sw)
        Deprecated.
        Creates an exception.
        Parameters:
        msg - the message
        bacKey - the BAC entry that was tried
        sw - status word or -1
    • Method Detail

      • getBACKey

        public BACKeySpec getBACKey()
        Deprecated.
        Returns the BAC key that was tried before BAC failed.
        Returns:
        a BAC key