|
| | __init__ (self, aid) |
| |
| | getAID (self) |
| |
| | selectResult (self, fci, status, body) |
| |
| | getData (self, fileId, bytes) |
| |
| | getDataResult (self, status, body) |
| |
| | mse (self, body) |
| |
| | mseResult (self, status, body) |
| |
| | pso (self, body) |
| |
| | psoResult (self, status, body) |
| |
| | getResponse (self, status, body) |
| |
| | getResponseResult (self, status, body) |
| |
| | verify (self, status, body) |
| |
| | verifyResult (self, status, body) |
| |
Base application
Definition at line 132 of file smartcard-interpreter.py.
◆ __init__()
| smartcard-interpreter.ApplicationDummy.__init__ |
( |
|
self, |
|
|
|
aid |
|
) |
| |
◆ getAID()
| smartcard-interpreter.ApplicationDummy.getAID |
( |
|
self | ) |
|
◆ getData()
| smartcard-interpreter.ApplicationDummy.getData |
( |
|
self, |
|
|
|
fileId, |
|
|
|
bytes |
|
) |
| |
Definition at line 144 of file smartcard-interpreter.py.
144 def getData(self, fileId, bytes):
145 return 'getData(status=0x%x) = %s\n' %(fileId, bytes.hex())
146
◆ getDataResult()
| smartcard-interpreter.ApplicationDummy.getDataResult |
( |
|
self, |
|
|
|
status, |
|
|
|
body |
|
) |
| |
Definition at line 147 of file smartcard-interpreter.py.
147 def getDataResult(self, status, body):
148 return 'getDataResult(status=0x%x) = %s\n' %(status, body.hex())
149
◆ getResponse()
| smartcard-interpreter.ApplicationDummy.getResponse |
( |
|
self, |
|
|
|
status, |
|
|
|
body |
|
) |
| |
◆ getResponseResult()
| smartcard-interpreter.ApplicationDummy.getResponseResult |
( |
|
self, |
|
|
|
status, |
|
|
|
body |
|
) |
| |
◆ mse()
| smartcard-interpreter.ApplicationDummy.mse |
( |
|
self, |
|
|
|
body |
|
) |
| |
◆ mseResult()
| smartcard-interpreter.ApplicationDummy.mseResult |
( |
|
self, |
|
|
|
status, |
|
|
|
body |
|
) |
| |
◆ pso()
| smartcard-interpreter.ApplicationDummy.pso |
( |
|
self, |
|
|
|
body |
|
) |
| |
◆ psoResult()
| smartcard-interpreter.ApplicationDummy.psoResult |
( |
|
self, |
|
|
|
status, |
|
|
|
body |
|
) |
| |
◆ selectResult()
| smartcard-interpreter.ApplicationDummy.selectResult |
( |
|
self, |
|
|
|
fci, |
|
|
|
status, |
|
|
|
body |
|
) |
| |
Definition at line 141 of file smartcard-interpreter.py.
141 def selectResult(self, fci, status, body):
142 return 'selectResult(fci=%s, status=0x%x) = %s\n' %(fci, status, body.hex())
143
◆ verify()
| smartcard-interpreter.ApplicationDummy.verify |
( |
|
self, |
|
|
|
status, |
|
|
|
body |
|
) |
| |
◆ verifyResult()
| smartcard-interpreter.ApplicationDummy.verifyResult |
( |
|
self, |
|
|
|
status, |
|
|
|
body |
|
) |
| |
Definition at line 171 of file smartcard-interpreter.py.
171 def verifyResult(self, status, body):
172 return "verify(%s)" % body.hex()
173
174
175'''
176'''
◆ aid
| smartcard-interpreter.ApplicationDummy.aid |
The documentation for this class was generated from the following file: