NVIDIA DeepStream SDK API Reference

9.2 Release
ext::http::client::HttpSslOptions Struct Reference

Detailed Description

Public Member Functions

 HttpSslOptions ()
 
 HttpSslOptions (nostd::string_view url, bool input_ssl_insecure_skip_verify, nostd::string_view input_ssl_ca_cert_path, nostd::string_view input_ssl_ca_cert_string, nostd::string_view input_ssl_client_key_path, nostd::string_view input_ssl_client_key_string, nostd::string_view input_ssl_client_cert_path, nostd::string_view input_ssl_client_cert_string, nostd::string_view input_ssl_min_tls, nostd::string_view input_ssl_max_tls, nostd::string_view input_ssl_cipher, nostd::string_view input_ssl_cipher_suite)
 
 HttpSslOptions ()
 
 HttpSslOptions (nostd::string_view url, bool input_ssl_insecure_skip_verify, nostd::string_view input_ssl_ca_cert_path, nostd::string_view input_ssl_ca_cert_string, nostd::string_view input_ssl_client_key_path, nostd::string_view input_ssl_client_key_string, nostd::string_view input_ssl_client_cert_path, nostd::string_view input_ssl_client_cert_string, nostd::string_view input_ssl_min_tls, nostd::string_view input_ssl_max_tls, nostd::string_view input_ssl_cipher, nostd::string_view input_ssl_cipher_suite)
 

Data Fields

bool use_ssl {false}
 Use HTTPS (true) or HTTP (false). More...
 
bool ssl_insecure_skip_verify {false}
 Skip SSL/TLS verifications. More...
 
std::string ssl_ca_cert_path {}
 Path to the CA CERT file. More...
 
std::string ssl_ca_cert_string {}
 CA CERT. More...
 
std::string ssl_client_key_path {}
 Path to the client key file. More...
 
std::string ssl_client_key_string {}
 Client key. More...
 
std::string ssl_client_cert_path {}
 Path to the client cert file. More...
 
std::string ssl_client_cert_string {}
 Client cert. More...
 
std::string ssl_min_tls {}
 Minimum SSL version to use. More...
 
std::string ssl_max_tls {}
 Maximum SSL version to use. More...
 
std::string ssl_cipher {}
 TLS Cipher. More...
 
std::string ssl_cipher_suite {}
 TLS Cipher suite. More...
 

Constructor & Destructor Documentation

◆ HttpSslOptions() [1/4]

ext::http::client::HttpSslOptions::HttpSslOptions ( )
inline

◆ HttpSslOptions() [2/4]

ext::http::client::HttpSslOptions::HttpSslOptions ( nostd::string_view  url,
bool  input_ssl_insecure_skip_verify,
nostd::string_view  input_ssl_ca_cert_path,
nostd::string_view  input_ssl_ca_cert_string,
nostd::string_view  input_ssl_client_key_path,
nostd::string_view  input_ssl_client_key_string,
nostd::string_view  input_ssl_client_cert_path,
nostd::string_view  input_ssl_client_cert_string,
nostd::string_view  input_ssl_min_tls,
nostd::string_view  input_ssl_max_tls,
nostd::string_view  input_ssl_cipher,
nostd::string_view  input_ssl_cipher_suite 
)
inline

◆ HttpSslOptions() [3/4]

ext::http::client::HttpSslOptions::HttpSslOptions ( )
inline

◆ HttpSslOptions() [4/4]

ext::http::client::HttpSslOptions::HttpSslOptions ( nostd::string_view  url,
bool  input_ssl_insecure_skip_verify,
nostd::string_view  input_ssl_ca_cert_path,
nostd::string_view  input_ssl_ca_cert_string,
nostd::string_view  input_ssl_client_key_path,
nostd::string_view  input_ssl_client_key_string,
nostd::string_view  input_ssl_client_cert_path,
nostd::string_view  input_ssl_client_cert_string,
nostd::string_view  input_ssl_min_tls,
nostd::string_view  input_ssl_max_tls,
nostd::string_view  input_ssl_cipher,
nostd::string_view  input_ssl_cipher_suite 
)
inline

Field Documentation

◆ ssl_ca_cert_path

std::string ext::http::client::HttpSslOptions::ssl_ca_cert_path {}

Path to the CA CERT file.

Definition at line 169 of file includes/opentelemetry/ext/http/client/http_client.h.

◆ ssl_ca_cert_string

std::string ext::http::client::HttpSslOptions::ssl_ca_cert_string {}

CA CERT.

Used only if ssl_ca_cert_path is empty.

Definition at line 174 of file includes/opentelemetry/ext/http/client/http_client.h.

◆ ssl_cipher

std::string ext::http::client::HttpSslOptions::ssl_cipher {}

TLS Cipher.

This is for TLS 1.2. The list is delimited by colons (":"). Cipher names depends on the underlying CURL implementation.

Definition at line 218 of file includes/opentelemetry/ext/http/client/http_client.h.

◆ ssl_cipher_suite

std::string ext::http::client::HttpSslOptions::ssl_cipher_suite {}

TLS Cipher suite.

This is for TLS 1.3. The list is delimited by colons (":"). Cipher names depends on the underlying CURL implementation.

Definition at line 226 of file includes/opentelemetry/ext/http/client/http_client.h.

◆ ssl_client_cert_path

std::string ext::http::client::HttpSslOptions::ssl_client_cert_path {}

Path to the client cert file.

Definition at line 187 of file includes/opentelemetry/ext/http/client/http_client.h.

◆ ssl_client_cert_string

std::string ext::http::client::HttpSslOptions::ssl_client_cert_string {}

Client cert.

Used only if ssl_client_cert_path is empty.

Definition at line 192 of file includes/opentelemetry/ext/http/client/http_client.h.

◆ ssl_client_key_path

std::string ext::http::client::HttpSslOptions::ssl_client_key_path {}

Path to the client key file.

Definition at line 178 of file includes/opentelemetry/ext/http/client/http_client.h.

◆ ssl_client_key_string

std::string ext::http::client::HttpSslOptions::ssl_client_key_string {}

Client key.

Used only if ssl_client_key_path is empty.

Definition at line 183 of file includes/opentelemetry/ext/http/client/http_client.h.

◆ ssl_insecure_skip_verify

bool ext::http::client::HttpSslOptions::ssl_insecure_skip_verify {false}

Skip SSL/TLS verifications.

Setting this flag to true is insecure.

Definition at line 165 of file includes/opentelemetry/ext/http/client/http_client.h.

◆ ssl_max_tls

std::string ext::http::client::HttpSslOptions::ssl_max_tls {}

Maximum SSL version to use.

Valid values are:

  • empty (no maximum version required)
  • "1.2" (TLSv1.2)
  • "1.3" (TLSv1.3)

Definition at line 210 of file includes/opentelemetry/ext/http/client/http_client.h.

◆ ssl_min_tls

std::string ext::http::client::HttpSslOptions::ssl_min_tls {}

Minimum SSL version to use.

Valid values are:

  • empty (defaults to TLSv1.2)
  • "1.2" (TLSv1.2)
  • "1.3" (TLSv1.3)

Definition at line 201 of file includes/opentelemetry/ext/http/client/http_client.h.

◆ use_ssl

bool ext::http::client::HttpSslOptions::use_ssl {false}

Use HTTPS (true) or HTTP (false).

Definition at line 160 of file includes/opentelemetry/ext/http/client/http_client.h.

Referenced by HttpSslOptions().


The documentation for this struct was generated from the following file: