Enum openssl::ssl::SslVerifyMode [-]  [+] [src]

pub enum SslVerifyMode {
    SslVerifyPeer,
    SslVerifyNone,
}

Determines the type of certificate verification used

Variants

SslVerifyPeer

Verify that the server's certificate is trusted

SslVerifyNone

Do not verify the server's certificate

Trait Implementations

Derived Implementations

impl Copy for SslVerifyMode