Пример #1
0
 def __init__(self, MF, SAM):
     Security_Environment.__init__(self, MF, SAM)
     self.at = nPA_AT_CRT() 
     #This breaks support for 3DES
     self.cct.blocklength = 16
     self.cct.algorithm = "CC"
     self.eac_step = 0
     self.sec = None
     self.eac_ctx = None
     self.cvca = None
     self.car = None
     self.ca_key = None
     self.disable_checks = False
Пример #2
0
 def __init__(self, MF, SAM):
     Security_Environment.__init__(self, MF, SAM)
     self.at = nPA_AT_CRT()
     # This breaks support for 3DES
     self.cct.blocklength = 16
     self.cct.algorithm = "CC"
     self.eac_step = 0
     self.sec = None
     self.eac_ctx = None
     self.cvca = None
     self.car = None
     self.ca_key = None
     self.disable_checks = False
Пример #3
0
 def __init__(self, MF, SAM):
     Security_Environment.__init__(self, MF, SAM)
Пример #4
0
 def __init__(self, MF, SAM, ssc=None):
     Security_Environment.__init__(self, MF, SAM)
     self.ssc = ssc
     self.cct.algorithm = "CC"
     self.cct.blocklength = 8
     self.ct.algorithm = "DES3-CBC"
Пример #5
0
 def __init__(self, MF, SAM):
     Security_Environment.__init__(self, MF, SAM)