Line data Source code
1 : #include "source/common/router/tls_context_match_criteria_impl.h" 2 : 3 : #include "envoy/config/route/v3/route_components.pb.h" 4 : 5 : namespace Envoy { 6 : namespace Router { 7 : 8 : TlsContextMatchCriteriaImpl::TlsContextMatchCriteriaImpl( 9 30 : const envoy::config::route::v3::RouteMatch::TlsContextMatchOptions& options) { 10 30 : if (options.has_presented()) { 11 30 : presented_ = options.presented().value(); 12 30 : } 13 : 14 30 : if (options.has_validated()) { 15 0 : validated_ = options.validated().value(); 16 0 : } 17 30 : } 18 : 19 : } // namespace Router 20 : } // namespace Envoy