5.5.21.2. ServerOnlyEncryption methods

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

Table 5.53. Method summary

Method __init__(self, server_certificate_generator, server_verify, server_ssl_options)

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

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

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

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