Skip to main content

Module sslv2

Module sslv2 

Source
Expand description

SSLv2 protocol support.

Implements parsing and building for SSLv2 record and handshake messages. SSLv2 uses a different record format from TLS:

2-byte header (MSB set): (length & 0x7FFF), no padding 3-byte header (MSB clear): length:15, padding_len:1

Re-exports§

pub use handshake::Sslv2ClientHello;
pub use handshake::Sslv2ClientMasterKey;
pub use handshake::Sslv2MessageType;
pub use handshake::Sslv2ServerHello;
pub use record::Sslv2Record;
pub use record::parse_sslv2_record;

Modules§

handshake
SSLv2 handshake message parsing and building.
record
SSLv2 record format parsing.

Constants§

SSLV2_VERSION
SSLv2 version constant.

Functions§

is_sslv2
Check if data starts with an SSLv2 record header.