Class: Temporalio::Bridge::TlsOptions Private

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_certObject (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_keyObject (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_overrideObject (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_certObject (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