5.5.21.2. ServerOnlyEncryption methods

MethodDescription
__init__(self, server_certificate_generator, server_verify, server_tls_options)Initializes TLS connection on the server side.

Table 5.57. Method summary

Method __init__(self, server_certificate_generator, server_verify, server_tls_options)

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

Arguments of __init__
server_certificate_generator (class)
Default: None
The class that will generate the certificate that will be showed to the server. You can use an instance of the StaticCertificate, DynamicCertificate, or SNIBasedCertificate classes.

server_tls_options (class)
Default: ServerTLSOptions()
The protocol-level encryption settings used on the server side. This must be a ServerTLSOptions instance.

server_verify (class)
Default: ServerCertificateVerifierGroup()
The settings used to verify the certificate of the server. This must be a ServerCertificateVerifier instance.