public class WrappedAPDUEvent
extends net.sf.scuba.smartcards.APDUEvent
source
Constructor and Description |
---|
WrappedAPDUEvent(Object source,
Serializable type,
int sequenceNumber,
net.sf.scuba.smartcards.CommandAPDU plainTextCommandAPDU,
net.sf.scuba.smartcards.ResponseAPDU plainTextResponseAPDU,
net.sf.scuba.smartcards.CommandAPDU wrappedCommandAPDU,
net.sf.scuba.smartcards.ResponseAPDU wrappedResponseAPDU)
Creates an APDU exchange event.
|
Modifier and Type | Method and Description |
---|---|
net.sf.scuba.smartcards.CommandAPDU |
getPlainTextCommandAPDU()
Returns the unprotected, plain-text Command APDU.
|
net.sf.scuba.smartcards.ResponseAPDU |
getPlainTextResponseAPDU()
Returns the unprotected, plain-text Response APDU.
|
getCommandAPDU, getResponseAPDU, getSequenceNumber, getType
getSource, toString
public WrappedAPDUEvent(Object source, Serializable type, int sequenceNumber, net.sf.scuba.smartcards.CommandAPDU plainTextCommandAPDU, net.sf.scuba.smartcards.ResponseAPDU plainTextResponseAPDU, net.sf.scuba.smartcards.CommandAPDU wrappedCommandAPDU, net.sf.scuba.smartcards.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 net.sf.scuba.smartcards.CommandAPDU getPlainTextCommandAPDU()
public net.sf.scuba.smartcards.ResponseAPDU getPlainTextResponseAPDU()
Copyright © 2018. All rights reserved.