use of org.openecard.sal.protocol.eac.apdu.MSESetATCA in project open-ecard by ecsec.
the class ChipAuthentication method mseSetAT.
/**
* Initializes the Chip Authentication protocol.
* Sends an MSE:Set AT APDU. (Protocol step 1)
* See BSI-TR-03110, version 2.10, part 3, B.11.1.
*
* @param oID Chip Authentication object identifier
* @param keyID Key identifier
* @throws ProtocolException
*/
public void mseSetAT(byte[] oID, byte[] keyID) throws ProtocolException {
try {
CardCommandAPDU mseSetAT = new MSESetATCA(oID, keyID);
mseSetAT.transmit(dispatcher, slotHandle);
} catch (APDUException e) {
throw new ProtocolException(e.getResult());
}
}
Aggregations