Sophie

Sophie

distrib > Fedora > 13 > i386 > media > os > by-pkgid > 4372e86182b0d3a0c1df980aa749fe54 > files > 55

python-gnutls-1.1.9-1.fc12.i686.rpm


This directory holds some examples of using python-gnutls. 

- An example of writing a synchronous client and server using the
  ClientSession and ServerSession classes from python-gnutls is
  given in client.py and server.py

- An example of writing an asynchronous client and server using the
  python-gnutls twisted interface is given in twisted-client.py and
  twisted-server.py

- An example of working with X509 certificates and their attributes
  as well as using a CRL to check their revocation is in crypto.py



To run the examples without installing python-gnutls, run the following
command prior to trying the examples (after python-gnutls was built):

export PYTHONPATH=/path/to/python-gnutls