enum TlsMode

TLS establishment protocols for LDAP.

References from:
Ldap; Ldap;

0
STARTTLS
The TLS-layer is established by using the StartTLS method of RFC4511.

Default port number is 389.
1
LDAPS
The TLS-layer is established by using the LDAPS protocol.

Default port number is 636.
  enum TlsMode