#include "common/secret/secret_provider_impl.h" #include "envoy/extensions/transport_sockets/tls/v3/cert.pb.h" #include "common/common/assert.h" #include "common/ssl/certificate_validation_context_config_impl.h" #include "common/ssl/tls_certificate_config_impl.h" namespace Envoy { namespace Secret { TlsCertificateConfigProviderImpl::TlsCertificateConfigProviderImpl( const envoy::extensions::transport_sockets::tls::v3::TlsCertificate& tls_certificate) : tls_certificate_( std::make_unique( tls_certificate)) {} CertificateValidationContextConfigProviderImpl::CertificateValidationContextConfigProviderImpl( const envoy::extensions::transport_sockets::tls::v3::CertificateValidationContext& certificate_validation_context) : certificate_validation_context_( std::make_unique< envoy::extensions::transport_sockets::tls::v3::CertificateValidationContext>( certificate_validation_context)) {} TlsSessionTicketKeysConfigProviderImpl::TlsSessionTicketKeysConfigProviderImpl( const envoy::extensions::transport_sockets::tls::v3::TlsSessionTicketKeys& tls_session_ticket_keys) : tls_session_ticket_keys_( std::make_unique( tls_session_ticket_keys)) {} GenericSecretConfigProviderImpl::GenericSecretConfigProviderImpl( const envoy::extensions::transport_sockets::tls::v3::GenericSecret& generic_secret) : generic_secret_( std::make_unique( generic_secret)) {} } // namespace Secret } // namespace Envoy