Package M2Crypto :: Module DH
[frames] | no frames]

Module DH



M2Crypto wrapper for OpenSSL DH API.

Copyright (c) 1999-2003 Ng Pheng Siong. All rights reserved.

Classes
  DHError
  DH
Object interface to the Diffie-Hellman key exchange protocol.
Functions
 
gen_params(plen, g, callback=<function genparam_callback at 0x83b2994>)
 
load_params(file)
 
load_params_bio(bio)
 
set_params(p, g)
Variables
  DH_GENERATOR_2 = 2
  DH_GENERATOR_5 = 5