Package org.jmrtd
Class BACDeniedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- net.sf.scuba.smartcards.CardServiceException
-
- org.jmrtd.BACDeniedException
-
- All Implemented Interfaces:
Serializable
@Deprecated public class BACDeniedException extends net.sf.scuba.smartcards.CardServiceException
Deprecated.UseCardServiceProtocolException
instead.Exception for signaling failed BAC.- Since:
- 0.4.8
- Version:
- $Revision: 1851 $
- Author:
- The JMRTD team
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BACDeniedException(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 java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
BACDeniedException
public BACDeniedException(String msg, BACKeySpec bacKey, int sw)
Deprecated.Creates an exception.- Parameters:
msg
- the messagebacKey
- the BAC entry that was triedsw
- 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
-
-