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