block-backend: add blk_get_max_iov()
[qemu/ar7.git] / qapi / crypto.json
blob4012659169175455c095e2ddd40c63b8e0f426c6
1 # -*- Mode: Python -*-
3 # QAPI crypto definitions
5 ##
6 # QCryptoTLSCredsEndpoint:
8 # The type of network endpoint that will be using the credentials.
9 # Most types of credential require different setup / structures
10 # depending on whether they will be used in a server versus a
11 # client.
13 # @client: the network endpoint is acting as the client
15 # @server: the network endpoint is acting as the server
17 # Since: 2.5
19 { 'enum': 'QCryptoTLSCredsEndpoint',
20   'prefix': 'QCRYPTO_TLS_CREDS_ENDPOINT',
21   'data': ['client', 'server']}
25 # QCryptoSecretFormat:
27 # The data format that the secret is provided in
29 # @raw: raw bytes. When encoded in JSON only valid UTF-8 sequences can be used
30 # @base64: arbitrary base64 encoded binary data
31 # Since: 2.6
33 { 'enum': 'QCryptoSecretFormat',
34   'prefix': 'QCRYPTO_SECRET_FORMAT',
35   'data': ['raw', 'base64']}