1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
// @generated
// This file is @generated by prost-build.
// \[#protodoc-title: StartTls\]
// \[#extension: envoy.transport_sockets.starttls\]
// StartTls transport socket addresses situations when a protocol starts in clear-text and
// negotiates an in-band switch to TLS. StartTls transport socket is protocol agnostic. In the
// case of downstream StartTls a network filter is required which understands protocol exchange
// and a state machine to signal to the StartTls transport socket when a switch to TLS is
// required. Similarly, upstream StartTls requires the owner of an upstream transport socket to
// manage the state machine necessary to properly coordinate negotiation with the upstream and
// signal to the transport socket when a switch to secure transport is required.
/// Configuration for a downstream StartTls transport socket.
/// StartTls transport socket wraps two sockets:
/// * raw_buffer socket which is used at the beginning of the session
/// * TLS socket used when a protocol negotiates a switch to encrypted traffic.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct StartTlsConfig {
/// (optional) Configuration for clear-text socket used at the beginning of the session.
#[prost(message, optional, tag="1")]
pub cleartext_socket_config: ::core::option::Option<super::super::raw_buffer::v3::RawBuffer>,
/// Configuration for a downstream TLS socket.
#[prost(message, optional, tag="2")]
pub tls_socket_config: ::core::option::Option<super::super::tls::v3::DownstreamTlsContext>,
}
/// Configuration for an upstream StartTls transport socket.
/// StartTls transport socket wraps two sockets:
/// * raw_buffer socket which is used at the beginning of the session
/// * TLS socket used when a protocol negotiates a switch to encrypted traffic.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpstreamStartTlsConfig {
/// (optional) Configuration for clear-text socket used at the beginning of the session.
#[prost(message, optional, tag="1")]
pub cleartext_socket_config: ::core::option::Option<super::super::raw_buffer::v3::RawBuffer>,
/// Configuration for an upstream TLS socket.
#[prost(message, optional, tag="2")]
pub tls_socket_config: ::core::option::Option<super::super::tls::v3::UpstreamTlsContext>,
}
// @@protoc_insertion_point(module)
|