LCOV - code coverage report
Current view: top level - source/common/network - upstream_subject_alt_names.h (source / functions) Hit Total Coverage
Test: coverage.dat Lines: 0 2 0.0 %
Date: 2024-01-05 06:35:25 Functions: 0 2 0.0 %

          Line data    Source code
       1             : #pragma once
       2             : 
       3             : #include "envoy/stream_info/filter_state.h"
       4             : 
       5             : namespace Envoy {
       6             : namespace Network {
       7             : 
       8             : /**
       9             :  * SANs to validate certificate to set in the upstream connection. Filters can use this one to
      10             :  * override the SAN in TLS context.
      11             :  */
      12             : class UpstreamSubjectAltNames : public StreamInfo::FilterState::Object {
      13             : public:
      14             :   explicit UpstreamSubjectAltNames(const std::vector<std::string>& upstream_subject_alt_names)
      15           0 :       : upstream_subject_alt_names_(upstream_subject_alt_names) {}
      16           0 :   const std::vector<std::string>& value() const { return upstream_subject_alt_names_; }
      17             :   static const std::string& key();
      18             : 
      19             : private:
      20             :   const std::vector<std::string> upstream_subject_alt_names_;
      21             : };
      22             : 
      23             : } // namespace Network
      24             : } // namespace Envoy

Generated by: LCOV version 1.15