SSLv2 Constant Enumerations¶
Added in version 1.6.0.
SSLv2 Handshake Message Type¶
Generated from pcapkit.vendor.sslv2.handshake_type.HandshakeType. Its
source is the expired SSLv2 draft linked above, not a live registry, so the crawler
reads its module’s DATA mapping instead of fetching a URL.
- class pcapkit.const.sslv2.handshake_type.HandshakeType(*values)[source]¶
Bases:
EnumRegistry,aenum.IntEnum[HandshakeType] SSLv2 Handshake Message Type
- ERROR = 0¶
MSG-ERROR
- CLIENT_HELLO = 1¶
MSG-CLIENT-HELLO
- CLIENT_MASTER_KEY = 2¶
MSG-CLIENT-MASTER-KEY
- CLIENT_FINISHED = 3¶
MSG-CLIENT-FINISHED
- SERVER_HELLO = 4¶
MSG-SERVER-HELLO
- SERVER_VERIFY = 5¶
MSG-SERVER-VERIFY
- SERVER_FINISHED = 6¶
MSG-SERVER-FINISHED
- REQUEST_CERTIFICATE = 7¶
MSG-REQUEST-CERTIFICATE
- CLIENT_CERTIFICATE = 8¶
MSG-CLIENT-CERTIFICATE
- classmethod _validate_value(value)[source]¶
Reject
valueunless it passes the range check_missing_()makes.Overrides
_validate_value()with that check and the message it raises, soregister()refuses exactly the valuesget()refuses, in the same words (#1816).- Parameters:
value (
Any) – Value about to be looked up or minted.- Raises:
EnumValueError – If
valuefails that check. AValueError, so anexcept ValueErrorcaller is unaffected.
SSLv2 Protocol Version¶
Generated from pcapkit.vendor.sslv2.version.Version, which reads DATA
for the same reason.
- class pcapkit.const.sslv2.version.Version(*values)[source]¶
Bases:
EnumRegistry,aenum.IntEnum[Version] SSLv2 Protocol Version
- SSLv2 = 2¶
SSL-2.0
- classmethod _validate_value(value)[source]¶
Reject
valueunless it passes the range check_missing_()makes.Overrides
_validate_value()with that check and the message it raises, soregister()refuses exactly the valuesget()refuses, in the same words (#1816).- Parameters:
value (
Any) – Value about to be looked up or minted.- Raises:
EnumValueError – If
valuefails that check. AValueError, so anexcept ValueErrorcaller is unaffected.
Footnotes