SslContext class
- class V12.FIXAntenna.SslContext
Contains SSL specific information that is used while establishing connection.
- get_context_type() SslContextType
- Returns:
None
- Return type:
- is_server_context() bool
Returns true if context contains server side information.
- Returns:
Returns true if context contains server side information.
- Return type:
bool
- is_client_context() bool
Returns true if context contains client side information.
- Returns:
Returns true if context contains client side information.
- Return type:
bool
- is_secured_context() bool
Returns true if context contains either client or server side information. True means that connection created with this context must and will be secured.
- Returns:
Returns true if the connection created with this context will be secured.
- Return type:
bool
- get_configurator() SslContextConfigurator
- Returns:
Returns SslContextConfigurator instance used for configuring SslContext.
- Return type:
- protocols
Defines which protocols are allowed to use.
- Type:
int
- ciphers_list
Ciphers configuration string.
- Type:
str
- get_string_protocols() str
Returns allowed protocols formatted in a string.
- Returns:
String with the allowed protocols.
- Return type:
str
- PROTOCOL_SSL_V2
- PROTOCOL_SSL_V3
- PROTOCOL_TLS_V1
- PROTOCOL_TLS_V1_1
- PROTOCOL_TLS_V1_2
- PROTOCOL_TLS_V1_3
- PROTOCOL_ALL_SSL
- PROTOCOL_ALL_TLS
- PROTOCOL_ALL