コード例 #1
0
ファイル: algorithms.py プロジェクト: pkubatrh/pskcparse
 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
コード例 #2
0
ファイル: algorithms.py プロジェクト: pkubatrh/pskcparse
 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)