]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Generic module for handling TLS encryption and x509 certs
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 23 Nov 2010 20:17:41 +0000 (20:17 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Fri, 24 Jun 2011 10:48:22 +0000 (11:48 +0100)
commit30fd0bbbfc76469dee5f636d3f8972c81ff43f85
treeff7907af7c9e0afdeae64e32d34239c630686574
parent58b5b14e5e19839885342bc43da8de4129dd3548
Generic module for handling TLS encryption and x509 certs

This provides two modules for handling TLS

 * virNetTLSContext provides the process-wide state, in particular
   all the x509 credentials, DH params and x509 whitelists
 * virNetTLSSession provides the per-connection state, ie the
   TLS session itself.

The virNetTLSContext provides APIs for validating a TLS session's
x509 credentials. The virNetTLSSession includes APIs for performing
the initial TLS handshake and sending/recving encrypted data

* src/Makefile.am: Add to libvirt-net-rpc.la
* src/rpc/virnettlscontext.c, src/rpc/virnettlscontext.h: Generic
  TLS handling code
cfg.mk
po/POTFILES.in
src/Makefile.am
src/rpc/virnettlscontext.c [new file with mode: 0644]
src/rpc/virnettlscontext.h [new file with mode: 0644]