Package Crypto :: Package PublicKey :: Module DSA
[hide private]
[frames] | no frames]

Module DSA

Classes [hide private]
  DSAobj
  object
  DSAobj_c
Functions [hide private]
 
generateQ(randfunc)
 
generate_py(bits, randfunc, progress_func=None)
generate(bits:int, randfunc:callable, progress_func:callable)
 
construct_py(tuple)
construct(tuple:(long,long,long,long)|(long,long,long,long,long)):DSAobj Construct a DSA object from a 4- or 5-tuple of numbers.
 
generate_c(bits, randfunc, progress_func=None)
 
construct_c(tuple)
 
generate(bits, randfunc, progress_func=None)
 
construct(tuple)
Variables [hide private]
  __revision__ = '$Id$'
Function Details [hide private]

generate_py(bits, randfunc, progress_func=None)

 

generate(bits:int, randfunc:callable, progress_func:callable)

Generate a DSA key of length 'bits', using 'randfunc' to get random data and 'progress_func', if present, to display the progress of the key generation.