5.5.8.2. ClientOnlyEncryption methods

MethodDescription
__init__(self, client_certificate_generator, client_verify, client_tls_options)Initializes TLS connection on the client side.

Table 5.45. Method summary

Method __init__(self, client_certificate_generator, client_verify, client_tls_options)

The ClientOnlyEncryption class handles scenarios when only the client-Vela connection is encrypted, the Vela-server connection is not.

Arguments of __init__
client_certificate_generator (class)
Default: n/a
The class that will generate the certificate that will be showed to the client. You can use an instance of the StaticCertificate, DynamicCertificate, or SNIBasedCertificate classes.

client_tls_options (class)
Default: ClientTLSOptions()
The protocol-level encryption settings used on the client side. This must be a ClientTLSOptions instance.

client_verify (class)
Default: ClientCertificateVerifierGroup()
The settings used to verify the certificate of the client. This must be a ClientCertificateVerifier instance.