Module openssl::ssl
[−]
[src]
Modules
error |
Structs
CipherBits | |
MidHandshakeSslStream |
An SSL stream midway through the handshake process. |
Ssl | |
SslCipher | |
SslContext |
An owned SSL context object. |
SslContextOptions | |
SslContextRef |
A borrowed SSL context object. |
SslRef | |
SslStream |
A stream wrapper which handles SSL encryption for an underlying stream. |
SslVerifyMode |
Enums
Error |
An SSL error. |
HandshakeError |
An error or intermediate state after a TLS handshake attempt. |
SniError |
An error returned from an SNI callback. |
SslMethod |
Determines the SSL method supported |
Constants
SSL_OP_ALL | |
SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION | |
SSL_OP_CIPHER_SERVER_PREFERENCE | |
SSL_OP_CISCO_ANYCONNECT | |
SSL_OP_COOKIE_EXCHANGE | |
SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS | |
SSL_OP_MICROSOFT_BIG_SSLV3_BUFFER | |
SSL_OP_MICROSOFT_SESS_ID_BUG | |
SSL_OP_NETSCAPE_CHALLENGE_BUG | |
SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG | |
SSL_OP_NO_COMPRESSION | |
SSL_OP_NO_QUERY_MTU | |
SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION | |
SSL_OP_NO_SSLV2 | |
SSL_OP_NO_SSLV3 | |
SSL_OP_NO_TICKET | |
SSL_OP_NO_TLSV1 | |
SSL_OP_SINGLE_DH_USE | |
SSL_OP_SINGLE_ECDH_USE | |
SSL_OP_SSLEAY_080_CLIENT_DH_BUG | |
SSL_OP_TLSEXT_PADDING | |
SSL_OP_TLS_BLOCK_PADDING_BUG | |
SSL_OP_TLS_D5_BUG | |
SSL_OP_TLS_ROLLBACK_BUG | |
SSL_VERIFY_FAIL_IF_NO_PEER_CERT |
Terminate handshake if client did not return a certificate. Use together with SSL_VERIFY_PEER. |
SSL_VERIFY_NONE |
Do not verify the server's certificate |
SSL_VERIFY_PEER |
Verify that the server's certificate is trusted |
Traits
IntoSsl |