Evd.TlsSession¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w |
The certificate credentials object to use by this SSL/TLS session |
||
r/w |
The SSL/TLS session’s mode of operation: client or server |
||
r/w |
Gets/sets the priorities to use on the ciphers, key exchange methods, macs and compression methods |
||
r/w |
Controls whether a peer certificate will be requested during handshake |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class Evd.TlsSession(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new()¶
- Return type:
- close()¶
- Raises:
- Return type:
- copy_properties(target)¶
- Parameters:
target (
Evd.TlsSession
) –
- get_credentials()¶
- Returns:
The
Evd.TlsCredentials
object of this session- Return type:
- get_direction()¶
- Return type:
- get_peer_certificates()¶
- Raises:
- Returns:
The list of certificates as sent by the peer.
- Return type:
- handshake()¶
- Raises:
- Return type:
- read(buffer, size)¶
- Parameters:
- Raises:
- Return type:
- reset()¶
- set_credentials(credentials)¶
- Parameters:
credentials (
Evd.TlsCredentials
) –
- set_transport_pull_func(func, *user_data)¶
- Parameters:
func (
Evd.TlsSessionPullFunc
) –
- set_transport_push_func(func, *user_data)¶
- Parameters:
func (
Evd.TlsSessionPushFunc
) –
- shutdown_write()¶
- Raises:
- Return type:
- write(buffer, size)¶
- Parameters:
- Raises:
- Return type:
Property Details¶
- Evd.TlsSession.props.credentials¶
- Name:
credentials
- Type:
- Default Value:
- Flags:
The certificate credentials object to use by this SSL/TLS session
- Evd.TlsSession.props.mode¶
-
The SSL/TLS session’s mode of operation: client or server
- Evd.TlsSession.props.priority¶
-
Gets/sets the priorities to use on the ciphers, key exchange methods, macs and compression methods