Method | Description |
---|---|
__init__(self, client_certificate_generator, server_certificate_generator, client_verify, server_verify, client_ssl_options, server_ssl_options) | Initializes SSL/TLS connection with both peers. |
Table 5.56. Method summary
The TwoSidedEncryption class handles scenarios when both the client-Zorp and the Zorp-server connections are encrypted.
client_certificate_generator (class) | |
---|---|
Default: n/a | |
The class that will generate the certificate Zorp shows to the client. You can use an instance of the StaticCertificate, DynamicCertificate, or SNIBasedCertificate classes. |
client_ssl_options (class) | |
---|---|
Default: ClientSSLOptions() | |
The protocol-level encryption settings used on the client side. This must be a ClientSSLOptions instance. |
client_verify (class) | |
---|---|
Default: ClientCertificateVerifierGroup() | |
The settings used to verify the certificate of the client. This must be a ClientCertificateVerifier instance. |
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. |
Published on June 04, 2020
© 2007-2019 BalaSys
Send your comments to support@balasys.hu