+1
−0
crypto/tlscredsx509.c
0 → 100644
+263
−0
include/crypto/tlscredsx509.h
0 → 100644
+112
−0
+27
−0
+3
−0
Loading
Introduce a QCryptoTLSCredsX509 class which is used to
manage x509 certificate TLS credentials. This will be
the preferred credential type offering strong security
characteristics
Example CLI configuration:
$QEMU -object tls-creds-x509,id=tls0,endpoint=server,\
dir=/path/to/creds/dir,verify-peer=yes
The 'id' value in the -object args will be used to associate the
credentials with the network services. For example, when the VNC
server is later converted it would use
$QEMU -object tls-creds-x509,id=tls0,.... \
-vnc 127.0.0.1:1,tls-creds=tls0
Signed-off-by:
Daniel P. Berrange <berrange@redhat.com>
Reviewed-by:
Eric Blake <eblake@redhat.com>