Client Hello¶
- class siotls.contents.handshakes.client_hello.ClientHello¶
Client Hello handshake as defined in RFC 8446 Section 4.1.2. Conveys the client’s supported cryptographic algorithms, along with additional extensions to negotiate optional features.
Note: this handshake, together with
ServerHello, are the only two messages that are not encrypted.- __init__(random, cipher_suites, extensions)¶
- Parameters:
random (bytes)
cipher_suites (list[CipherSuites | int])
extensions (list[Extension])
- cipher_suites: list[CipherSuites | int]¶
The list of ciphers that this client support.
See also
cipher_suites.
- extensions: dict[ExtensionType | int, Extension]¶
The extensions, indexed by
siotls.iana.ExtensionType, that are used to negotiate cryptographic settings and all additionnal features for this connection.
- msg_type: HandshakeType | HandshakeType_ = 1¶
The unique numeric identifier of the handshake.
- random: bytes¶
32 bytes generated by a secure random number generator. Uniquely identify this connection.