Method | Description |
---|---|
__init__(self, client_certificate_generator, client_verify, server_verify, client_tls_options, server_tls_options) | Initializes a ForwardStartTLSEncryption instance to handle scenarios when the client can optionally request STARTTLS encryption. |
Table 5.53. Method summary
Initializes a ForwardStartTLSEncryption instance to handle scenarios when the client can optionally request STARTTLS encryption.
If the client sends a STARTTLS request, the client-side connection will use STARTTLS, and the request will be forwarded to the server.
If the server supports STARTTLS, the server-side connection will also use STARTTLS.
Warning |
---|
If the client does not send a STARTTLS request, the communication will not be encrypted at all. Both the client-Vela and the Vela-server connections will be unencrypted. |
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. |
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. |
© 2021 BalaSys IT Security.
Send your comments to support@balasys.hu