public class WrappedAPDUEvent extends APDUEvent
source
Constructor and Description |
---|
WrappedAPDUEvent(Object source,
Serializable type,
int sequenceNumber,
CommandAPDU plainTextCommandAPDU,
ResponseAPDU plainTextResponseAPDU,
CommandAPDU wrappedCommandAPDU,
ResponseAPDU wrappedResponseAPDU)
Creates an APDU exchange event.
|
Modifier and Type | Method and Description |
---|---|
CommandAPDU |
getPlainTextCommandAPDU()
Returns the unprotected, plain-text Command APDU.
|
ResponseAPDU |
getPlainTextResponseAPDU()
Returns the unprotected, plain-text Response APDU.
|
getCommandAPDU, getResponseAPDU, getSequenceNumber, getType
getSource, toString
public WrappedAPDUEvent(Object source, Serializable type, int sequenceNumber, CommandAPDU plainTextCommandAPDU, ResponseAPDU plainTextResponseAPDU, CommandAPDU wrappedCommandAPDU, ResponseAPDU wrappedResponseAPDU)
source
- the source of the event, typically a card servicetype
- the type of event, typically this identifies the APDU wrapper somehowsequenceNumber
- the sequence number of the APDU exchange within a sessionplainTextCommandAPDU
- the unprotected command APDUplainTextResponseAPDU
- the unprotected response APDUwrappedCommandAPDU
- the protected command APDUwrappedResponseAPDU
- the protected command APDUpublic CommandAPDU getPlainTextCommandAPDU()
public ResponseAPDU getPlainTextResponseAPDU()
Copyright © 2018. All rights reserved.