public final class CardSelectionResponse
extends java.lang.Object
implements java.io.Serializable
CardSelectionRequest
.
These data are the selection status and the responses (SelectionStatus
), if any, to
the APDUs sent to the card (a list of ApduResponse
).
Constructor and Description |
---|
CardSelectionResponse(SelectionStatus selectionStatus,
CardResponse cardResponse)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
CardResponse |
getCardResponse()
Gets the apdu responses.
|
SelectionStatus |
getSelectionStatus()
Gets the selection status.
|
int |
hashCode() |
java.lang.String |
toString() |
public CardSelectionResponse(SelectionStatus selectionStatus, CardResponse cardResponse)
Builds the CardSelectionResponse from the SelectionStatus
and a CardResponse
(list of ApduResponse
).
selectionStatus
- A not null SelectionStatus
.cardResponse
- A CardResponse
(must be not null).public SelectionStatus getSelectionStatus()
SelectionStatus
.public CardResponse getCardResponse()
ApduResponse
(may be empty).public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object