Package org.jmrtd.protocol
Class AAAPDUSender
- java.lang.Object
-
- org.jmrtd.protocol.AAAPDUSender
-
- All Implemented Interfaces:
APDULevelAACapable
public class AAAPDUSender extends Object implements APDULevelAACapable
A low-level APDU sender to support the Active Authentication protocol.- Since:
- 0.7.0
- Version:
- $Revision: 1805 $
- Author:
- The JMRTD team
-
-
Constructor Summary
Constructors Constructor Description AAAPDUSender(net.sf.scuba.smartcards.CardService service)
Creates an APDU sender for tranceiving Active Authentication protocol APDUs.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
sendInternalAuthenticate(net.sf.scuba.smartcards.APDUWrapper wrapper, byte[] rndIFD)
Sends anINTERNAL AUTHENTICATE
command to the passport.
-
-
-
Method Detail
-
sendInternalAuthenticate
public byte[] sendInternalAuthenticate(net.sf.scuba.smartcards.APDUWrapper wrapper, byte[] rndIFD) throws net.sf.scuba.smartcards.CardServiceException
Sends anINTERNAL AUTHENTICATE
command to the passport. This is part of AA.- Specified by:
sendInternalAuthenticate
in interfaceAPDULevelAACapable
- Parameters:
wrapper
- secure messaging wrapperrndIFD
- the challenge to send- Returns:
- the response from the passport (status word removed)
- Throws:
net.sf.scuba.smartcards.CardServiceException
- on tranceive error
-
-