tls: remove api boilerplate
[vpp.git] / src / plugins / tlsopenssl / tls_openssl.api
1 /* Define TLS OpenSSL binary API to control the feature */
2
3 option version = "2.0.0";
4
5 autoreply define tls_openssl_set_engine {
6     /* Client identifier, set from api_main.my_client_index */
7     u32 client_index;
8
9     /* Arbitrary context, so client can match reply to request */
10     u32 context;
11
12     /* if async is enabled */
13     u32 async_enable;
14
15     /* engine name */
16     u8 engine[64];
17
18     /* algorithm */
19     u8 algorithm[64];
20
21     /* cipher */
22     u8 ciphers[64];
23     option vat_help = "tls openssl set [engine <engine name>] [alg [algorithm] [async]";
24 };