summaryrefslogtreecommitdiff
path: root/gnutls-1.1.9/examples/README
diff options
context:
space:
mode:
authork clair <kclair@riseup.net>2012-10-09 12:14:18 -0700
committerk clair <kclair@riseup.net>2012-10-09 12:14:18 -0700
commit115994cef3e454c2a197a28e02b19bf343aafc16 (patch)
treee3a8c3e2fbc0f3c9f2e74f62cae25b4df6237ed3 /gnutls-1.1.9/examples/README
parent7ebbbaaeef0ded0f39b8bf863ee7fd324b19c9f9 (diff)
add already generated debian policy files and debian package files
Diffstat (limited to 'gnutls-1.1.9/examples/README')
-rw-r--r--gnutls-1.1.9/examples/README21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnutls-1.1.9/examples/README b/gnutls-1.1.9/examples/README
new file mode 100644
index 0000000..343359f
--- /dev/null
+++ b/gnutls-1.1.9/examples/README
@@ -0,0 +1,21 @@
+
+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
+