twisted.internet.ssl.ProtocolNegotiationSupport(Flags) class documentationtwisted.internet.ssl
View Source
(View In Hierarchy)
ProtocolNegotiationSupport
defines flags which are used to indicate the level of NPN/ALPN support
provided by the TLS backend.
| Class Variable | NOSUPPORT | There is no support for NPN or ALPN. This is exclusive with both NPN
and ALPN. |
| Class Variable | NPN | The implementation supports Next Protocol Negotiation. |
| Class Variable | ALPN | The implementation supports Application Layer Protocol Negotiation. |
Inherited from _ConstantsContainer (via Flags, Values):
| Method | __new__ | Classes representing constants containers are not intended to be instantiated. |
| Class Method | lookupByName | Retrieve a constant by its name or raise a ValueError if
there is no constant associated with that name. |
| Class Method | iterconstants | Iteration over a Names subclass
results in all of the constants it contains. |
| Class Variable | _constantType | Specified by a _ConstantsContainer
subclass to specify the type of constants allowed by that subclass. |
| Class Variable | _enumerants | A dict mapping the names of constants (eg NamedConstant
instances) found in the class definition to those instances. |
Inherited from _ConstantsContainer (via Flags, Values):
| Method | __new__ | Classes representing constants containers are not intended to be instantiated. |
| Class Method | lookupByName | Retrieve a constant by its name or raise a ValueError if
there is no constant associated with that name. |
| Class Method | iterconstants | Iteration over a Names subclass
results in all of the constants it contains. |
| Class Variable | _constantType | Specified by a _ConstantsContainer
subclass to specify the type of constants allowed by that subclass. |
| Class Variable | _enumerants | A dict mapping the names of constants (eg NamedConstant
instances) found in the class definition to those instances. |
Inherited from _ConstantsContainer (via Flags, Values):
| Method | __new__ | Classes representing constants containers are not intended to be instantiated. |
| Class Method | lookupByName | Retrieve a constant by its name or raise a ValueError if
there is no constant associated with that name. |
| Class Method | iterconstants | Iteration over a Names subclass
results in all of the constants it contains. |
| Class Variable | _constantType | Specified by a _ConstantsContainer
subclass to specify the type of constants allowed by that subclass. |
| Class Variable | _enumerants | A dict mapping the names of constants (eg NamedConstant
instances) found in the class definition to those instances. |