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:
java.io.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(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.
-
-
-
Constructor Detail
-
BACDeniedException
public BACDeniedException(java.lang.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
-
-