Class: Temporalio::Bridge::TlsOptions Private
- Inherits:
-
Object
- Object
- Temporalio::Bridge::TlsOptions
- Defined in:
- lib/temporalio/bridge/tls_options.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Attribute Summary collapse
- #client_cert ⇒ Object readonly private
- #client_private_key ⇒ Object readonly private
- #server_name_override ⇒ Object readonly private
- #server_root_ca_cert ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(server_root_ca_cert:, client_cert:, client_private_key:, server_name_override:) ⇒ TlsOptions
constructor
private
A new instance of TlsOptions.
Constructor Details
#initialize(server_root_ca_cert:, client_cert:, client_private_key:, server_name_override:) ⇒ TlsOptions
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of TlsOptions.
6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/temporalio/bridge/tls_options.rb', line 6 def initialize( server_root_ca_cert:, client_cert:, client_private_key:, server_name_override: ) @server_root_ca_cert = server_root_ca_cert @client_cert = client_cert @client_private_key = client_private_key @server_name_override = server_name_override end |
Instance Attribute Details
#client_cert ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
4 5 6 |
# File 'lib/temporalio/bridge/tls_options.rb', line 4 def client_cert @client_cert end |
#client_private_key ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
4 5 6 |
# File 'lib/temporalio/bridge/tls_options.rb', line 4 def client_private_key @client_private_key end |
#server_name_override ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
4 5 6 |
# File 'lib/temporalio/bridge/tls_options.rb', line 4 def server_name_override @server_name_override end |
#server_root_ca_cert ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
4 5 6 |
# File 'lib/temporalio/bridge/tls_options.rb', line 4 def server_root_ca_cert @server_root_ca_cert end |