Enum openssl::ssl::SslMethod
[−]
[src]
pub enum SslMethod { Sslv2, Sslv23, Sslv3, Tlsv1, Tlsv1_1, Tlsv1_2, Dtlsv1, Dtlsv1_2, }
Determines the SSL method supported
Variants
Sslv2 | Only support the SSLv2 protocol, requires the |
Sslv23 | Support the SSLv2, SSLv3, TLSv1, TLSv1.1, and TLSv1.2 protocols depending on what the linked OpenSSL library supports. |
Sslv3 | Only support the SSLv3 protocol. |
Tlsv1 | Only support the TLSv1 protocol. |
Tlsv1_1 | Support TLSv1.1 protocol, requires the |
Tlsv1_2 | Support TLSv1.2 protocol, requires the |
Dtlsv1 | Support DTLSv1 protocol, requires the |
Dtlsv1_2 | Support DTLSv1.2 protocol, requires the |