public class FeitianCardChannel
extends java.lang.Object
implements de.gematik.ti.cardreader.provider.api.card.ICardChannel
| Constructor and Description |
|---|
FeitianCardChannel(FeitianCard feitianCard)
Constructor
|
FeitianCardChannel(FeitianCard feitianCard,
int channelNo)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the logical channel
|
de.gematik.ti.cardreader.provider.api.card.ICard |
getCard()
Returns the connected card object
|
int |
getChannelNumber()
Returns the number of channel
|
int |
getMaxMessageLength()
secureMessaging: Do only if it it required, channel must be know before if secureMessaging used.
|
int |
getMaxResponseLength()
secureMessaging: Do only if it it required, channel must be know before if secureMessaging used.
|
boolean |
isExtendedLengthSupported() |
de.gematik.ti.cardreader.provider.api.command.IResponseApdu |
transmit(de.gematik.ti.cardreader.provider.api.command.ICommandApdu command)
Returns the responseAPDU after transmitting a commandAPDU
|
public FeitianCardChannel(FeitianCard feitianCard)
feitianCard - public FeitianCardChannel(FeitianCard feitianCard, int channelNo)
feitianCard - channelNo - public de.gematik.ti.cardreader.provider.api.card.ICard getCard()
getCard in interface de.gematik.ti.cardreader.provider.api.card.ICardChannelpublic int getChannelNumber()
getChannelNumber in interface de.gematik.ti.cardreader.provider.api.card.ICardChannelpublic boolean isExtendedLengthSupported()
isExtendedLengthSupported in interface de.gematik.ti.cardreader.provider.api.card.ICardChannelpublic int getMaxMessageLength()
getMaxMessageLength in interface de.gematik.ti.cardreader.provider.api.card.ICardChannelpublic int getMaxResponseLength()
getMaxResponseLength in interface de.gematik.ti.cardreader.provider.api.card.ICardChannelpublic de.gematik.ti.cardreader.provider.api.command.IResponseApdu transmit(de.gematik.ti.cardreader.provider.api.command.ICommandApdu command)
throws de.gematik.ti.cardreader.provider.api.card.CardException
transmit in interface de.gematik.ti.cardreader.provider.api.card.ICardChannelcommand - de.gematik.ti.cardreader.provider.api.card.CardExceptionpublic void close()
throws de.gematik.ti.cardreader.provider.api.card.CardException
close in interface de.gematik.ti.cardreader.provider.api.card.ICardChannelde.gematik.ti.cardreader.provider.api.card.CardException