Method | Description |
---|---|
__init__(self, name, encryption) | Constructor to create an Encryption policy. |
Table 5.46. Method summary
This constructor initializes an Encryption policy, based on the settings of the encryption
parameter.
This describes the scenario and the settings how encryption is used in the scenario, for example:
Both the client-side and the server-side connections are encrypted (TwoSidedEncryption)
Only the client-side connection is encrypted (ClientOnlyEncryption)
Only the server-side connection is encrypted (ServerOnlyEncryption)
STARTTLS is enabled (ClientOnlyStartTLSEncryption, FakeStartTLSEncryption, or ForwardStartTLSEncryption)
To customize the settings of a scenario (for example, to set the used certificates), derive a class from the selected scenario, set its parameters as needed for your environment, and use the customized class.
Published on June 04, 2020
© 2007-2019 BalaSys
Send your comments to support@balasys.hu