Home | Trees | Index | Help |
|
---|
|
Method Summary | |
---|---|
Initialize the TLSSettings object. |
Instance Variable Summary | |
---|---|
cacert_file : path to a file with trusted CA certificates | |
cert_file : path to own X.509 certificate | |
key_file : path to the private key for own X.509 certificate | |
require : is TLS required | |
verify_callback : callback function for certificate
verification. | |
verify_peer : should the peer's certificate be verified |
Method Details |
---|
__init__(self,
require=False,
verify_peer=True,
cert_file=None,
key_file=None,
cacert_file=None,
verify_callback=None,
ctx=None)
Initialize the TLSSettings object. |
Instance Variable Details |
---|
cacert_filepath to a file with trusted CA certificates |
cert_filepath to own X.509 certificate |
key_filepath to the private key for own X.509 certificate |
requireis TLS required |
verify_callbackcallback function for certificate verification. See M2Crypto documentation for details. |
verify_peershould the peer's certificate be verified |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Mon Dec 26 17:57:38 2005 | http://epydoc.sf.net |