Ejemplo n.º 1
0
 def __init__(self, encrypt):
     """
     Initialization method for the object
     
     encrypt -- boolean to see if the package uses encryption
     """
     KeyPack.__init__(self, encrypt)
     # HOTP requires AlgorithmParameters
     self.algparamreq = True
Ejemplo n.º 2
0
 def __init__(self, encrypt):
     """
     Initialization method for the object
     
     encrypt -- boolean to see if the package uses encryption
     """
     # SecurID requires AlgorithmParameters
     self.algparamreq = True
     # SecurID requires Key policy
     self.keypolicyreq = True
     KeyPack.__init__(self, encrypt)