R6 class for TLS configuration.
Details
See crew_tls().
See also
Other tls:
crew_tls()
Active bindings
modeSee
crew_tls().keySee
crew_tls().passwordSee
crew_tls().certificatesSee
crew_tls().
Methods
Method new()
TLS configuration constructor.
Usage
crew_class_tls$new(
mode = NULL,
key = NULL,
password = NULL,
certificates = NULL
)Arguments
modeArgument passed from
crew_tls().keyArgument passed from
crew_tls().passwordArgument passed from
crew_tls().certificatesArgument passed from
crew_tls().
Examples
crew_tls(mode = "automatic")Method validate()
Validate the object.
Arguments
testLogical of length 1, whether to test the TLS configuration with
nanonext::tls_config().
Method url()
Form the URL for crew worker connections.
Examples
crew_tls(mode = "automatic")
#> <crew_class_tls>
#> Public:
#> certificates: active binding
#> client: function ()
#> initialize: function (mode = NULL, key = NULL, password = NULL, certificates = NULL)
#> key: active binding
#> mode: active binding
#> password: active binding
#> private: environment
#> self: crew_class_tls, R6
#> url: function (host, port)
#> validate: function (test = TRUE)
#> worker: function (profile)
#> Private:
#> .certificates: NULL
#> .key: NULL
#> .mode: automatic
#> .password: NULL
#> .read_certificates: function ()
#> .read_files: function (files)
#> .read_key: function ()
#> .validate_mode_automatic: function ()
#> .validate_mode_custom: function ()
## ------------------------------------------------
## Method `crew_class_tls$new`
## ------------------------------------------------
crew_tls(mode = "automatic")
#> <crew_class_tls>
#> Public:
#> certificates: active binding
#> client: function ()
#> initialize: function (mode = NULL, key = NULL, password = NULL, certificates = NULL)
#> key: active binding
#> mode: active binding
#> password: active binding
#> private: environment
#> self: crew_class_tls, R6
#> url: function (host, port)
#> validate: function (test = TRUE)
#> worker: function (profile)
#> Private:
#> .certificates: NULL
#> .key: NULL
#> .mode: automatic
#> .password: NULL
#> .read_certificates: function ()
#> .read_files: function (files)
#> .read_key: function ()
#> .validate_mode_automatic: function ()
#> .validate_mode_custom: function ()