FreeRDP
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Modules Pages
smartcard-interpreter.ApplicationDummy Class Reference
Inheritance diagram for smartcard-interpreter.ApplicationDummy:
Collaboration diagram for smartcard-interpreter.ApplicationDummy:

Public Member Functions

 __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)
 

Data Fields

 aid
 

Detailed Description

Base application

Definition at line 132 of file smartcard-interpreter.py.

Constructor & Destructor Documentation

◆ __init__()

smartcard-interpreter.ApplicationDummy.__init__ (   self,
  aid 
)

Definition at line 135 of file smartcard-interpreter.py.

135 def __init__(self, aid):
136 self.aid = aid
137

Member Function Documentation

◆ getAID()

smartcard-interpreter.ApplicationDummy.getAID (   self)

Definition at line 138 of file smartcard-interpreter.py.

138 def getAID(self):
139 return self.aid
140

◆ 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 
)

Definition at line 162 of file smartcard-interpreter.py.

162 def getResponse(self, status, body):
163 return body.hex()
164

◆ getResponseResult()

smartcard-interpreter.ApplicationDummy.getResponseResult (   self,
  status,
  body 
)

Definition at line 165 of file smartcard-interpreter.py.

165 def getResponseResult(self, status, body):
166 return body.hex()
167

◆ mse()

smartcard-interpreter.ApplicationDummy.mse (   self,
  body 
)

Definition at line 150 of file smartcard-interpreter.py.

150 def mse(self, body):
151 return body.hex()
152

◆ mseResult()

smartcard-interpreter.ApplicationDummy.mseResult (   self,
  status,
  body 
)

Definition at line 153 of file smartcard-interpreter.py.

153 def mseResult(self, status, body):
154 return body.hex()
155

◆ pso()

smartcard-interpreter.ApplicationDummy.pso (   self,
  body 
)

Definition at line 156 of file smartcard-interpreter.py.

156 def pso(self, body):
157 return body.hex()
158

◆ psoResult()

smartcard-interpreter.ApplicationDummy.psoResult (   self,
  status,
  body 
)

Definition at line 159 of file smartcard-interpreter.py.

159 def psoResult(self, status, body):
160 return body.hex()
161

◆ 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 
)

Definition at line 168 of file smartcard-interpreter.py.

168 def verify(self, status, body):
169 return "verify(%s)" % body.hex()
170

◆ 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'''

Field Documentation

◆ aid

smartcard-interpreter.ApplicationDummy.aid

Definition at line 136 of file smartcard-interpreter.py.


The documentation for this class was generated from the following file: