summaryrefslogtreecommitdiffstats
path: root/src/qapi/crypto.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/qapi/crypto.json')
-rw-r--r--src/qapi/crypto.json21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/qapi/crypto.json b/src/qapi/crypto.json
new file mode 100644
index 0000000..b058b14
--- /dev/null
+++ b/src/qapi/crypto.json
@@ -0,0 +1,21 @@
+# -*- Mode: Python -*-
+#
+# QAPI crypto definitions
+
+##
+# QCryptoTLSCredsEndpoint:
+#
+# The type of network endpoint that will be using the credentials.
+# Most types of credential require different setup / structures
+# depending on whether they will be used in a server versus a
+# client.
+#
+# @client: the network endpoint is acting as the client
+#
+# @server: the network endpoint is acting as the server
+#
+# Since: 2.5
+##
+{ 'enum': 'QCryptoTLSCredsEndpoint',
+ 'prefix': 'QCRYPTO_TLS_CREDS_ENDPOINT',
+ 'data': ['client', 'server']}
OpenPOWER on IntegriCloud