Home | Trees | Indices | Help |
---|
|
This class handles the generic information about TLS extensions used by both sides of connection in Client Hello and Server Hello messages. See RFC 4366 for more info.
It is used as a base class for specific users and as a way to store extensions that are not implemented in library.
|
|||
|
|||
|
|||
str |
|
||
TLSExtension |
|
||
TLSExtension |
|
||
bytearray |
|
||
Inherited from |
|
|||
dict |
_serverExtensions =
dictionary with concrete implementations of specific TLS extensions where key is the numeric value of the extension ID. |
||
dict |
_universalExtensions =
dictionary with concrete implementations of specific TLS extensions where key is the numeric value of the extension ID. |
|
|||
bytearray |
extData a byte array containing the value of the extension as to be written on the wire |
||
int |
extType a 2^16-1 limited integer specifying the type of the extension that it contains, e.g. |
||
boolean |
serverType indicates that the extension was parsed with ServerHello specific parser, otherwise it used universal or ClientHello specific parser |
|
|||
Inherited from |
|
Test if two TLS extensions will result in the same on the wire representation. Will return False for every object that's not an extension. |
Creates a generic TLS extension that can be used either for client hello or server hello message parsing or creation. You'll need to use create or parse methods to create an extension that is actually usable.
|
Output human readable representation of object
|
Initializes a generic TLS extension that can later be used in client hello or server hello messages
|
Parses extension from the wire format
|
Returns encoded extension, as encoded on the wire
|
|
_serverExtensionsdictionary with concrete implementations of specific TLS extensions where key is the numeric value of the extension ID. Includes only those extensions that require special handlers for ServerHello versions.
|
_universalExtensionsdictionary with concrete implementations of specific TLS extensions where key is the numeric value of the extension ID. Contains ClientHello version of extensions or universal implementations
|
|
extTypea 2^16-1 limited integer specifying the type of the extension that it contains, e.g. 0 indicates server name extension
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Sat Oct 10 14:21:19 2015 | http://epydoc.sourceforge.net |