X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fsession%2Fsession.api;h=336b51cd333c3cd5dd9333b22b9f80c2c6057257;hb=371ca50a74a9c4f1b74c4c1b65c6fdec610fcfc3;hp=a6739fc61bf206c51afdba5bc0257997ce20732f;hpb=9e6356962a0cbb84f7ea9056b954d65aaa231a61;p=vpp.git diff --git a/src/vnet/session/session.api b/src/vnet/session/session.api index a6739fc61bf..336b51cd333 100644 --- a/src/vnet/session/session.api +++ b/src/vnet/session/session.api @@ -51,6 +51,34 @@ define application_attach_reply { u8 segment_name[128]; }; +/** \brief Application add TLS certificate + @param client_index - opaque cookie to identify the sender + @param context - sender context, to match reply w/ request + @param cert_len - certificate length + @param cert - certificate as a string +*/ +autoreply define application_tls_cert_add { + u32 client_index; + u32 context; + u32 app_index; + u16 cert_len; + u8 cert[cert_len]; +}; + +/** \brief Application add TLS key + @param client_index - opaque cookie to identify the sender + @param context - sender context, to match reply w/ request + @param key_len - certificate length + @param key - PEM encoded key as a string +*/ +autoreply define application_tls_key_add { + u32 client_index; + u32 context; + u32 app_index; + u16 key_len; + u8 key[key_len]; +}; + /** \brief client->vpp, attach application to session layer @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request