/** * Creates a new handle with specified parameters. * * @param slot slot number * @param channel channel number */ Handle(int slot, int channel) { this.slot = slot; this.channel = channel; cad = APDUManager.cads[slot]; FCI = cad.getFCI(); opened = true; this.cardSessionId = cad.getCardSessionId(); this.handleInstance = instanceNo++; }
/** * Returns FCI of the selected application. * * @return byte[] FCI. */ public byte[] getFCI() { return cad.getFCI(); }