EncPolicy

object EncPolicy

Port of settings_pack::enc_policy: the encryption policy for incoming / outgoing connections (Settings.OUT_ENC_POLICY / Settings.IN_ENC_POLICY).

Properties

Link copied to clipboard
const val PE_DISABLED: Int = 2

Only non-encrypted connections are allowed.

Link copied to clipboard
const val PE_ENABLED: Int = 1

Encryption preferred, but plaintext connections are accepted/attempted as fallback.

Link copied to clipboard
const val PE_FORCED: Int = 0

Only encrypted connections are allowed.