Package org.jmrtd
Interface APDULevelEACCACapable
-
- All Known Implementing Classes:
EACCAAPDUSender
public interface APDULevelEACCACapable
The low-level capability of sending APDUs for the (EAC) Chip Authentication protocol (version 1).- Version:
- $Revision: 1802 $
- Author:
- The JMRTD team ([email protected])
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]
sendGeneralAuthenticate(net.sf.scuba.smartcards.APDUWrapper wrapper, byte[] data, boolean isLast)
Sends a General Authenticate command.void
sendMSEKAT(net.sf.scuba.smartcards.APDUWrapper wrapper, byte[] keyData, byte[] idData)
The MSE KAT APDU, see EAC 1.11 spec, Section B.1.void
sendMSESetATIntAuth(net.sf.scuba.smartcards.APDUWrapper wrapper, String oid, BigInteger keyId)
The MSE Set AT for Chip Authentication.
-
-
-
Method Detail
-
sendMSEKAT
void sendMSEKAT(net.sf.scuba.smartcards.APDUWrapper wrapper, byte[] keyData, byte[] idData) throws net.sf.scuba.smartcards.CardServiceException
The MSE KAT APDU, see EAC 1.11 spec, Section B.1.- Parameters:
wrapper
- secure messaging wrapperkeyData
- key data object (tag 0x91)idData
- key id data object (tag 0x84), can be null- Throws:
net.sf.scuba.smartcards.CardServiceException
- on error
-
sendMSESetATIntAuth
void sendMSESetATIntAuth(net.sf.scuba.smartcards.APDUWrapper wrapper, String oid, BigInteger keyId) throws net.sf.scuba.smartcards.CardServiceException
The MSE Set AT for Chip Authentication.- Parameters:
wrapper
- secure messaging wrapperoid
- the OIDkeyId
- the keyId ornull
- Throws:
net.sf.scuba.smartcards.CardServiceException
- on error
-
sendGeneralAuthenticate
byte[] sendGeneralAuthenticate(net.sf.scuba.smartcards.APDUWrapper wrapper, byte[] data, boolean isLast) throws net.sf.scuba.smartcards.CardServiceException
Sends a General Authenticate command.- Parameters:
wrapper
- secure messaging wrapperdata
- data to be sent, without the0x7C
prefix (this method will add it)isLast
- indicates whether this is the last command in the chain- Returns:
- dynamic authentication data without the
0x7C
prefix (this method will remove it) - Throws:
net.sf.scuba.smartcards.CardServiceException
- on error
-
-