aiocoap.transports.tls module

CoAP-over-TLS transport (early work in progress)

Right now this is running on self-signed, hard-coded certificates with default SSL module options.

To use this, generate keys as with:

$ openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 5 -nodes

and state your hostname (eg. localhost) when asked for the Common Name.

class aiocoap.transports.tls.TLSServer

Bases: _TLSMixIn, TCPServer

async classmethod create_server(bind, tman, log, loop, server_context)
class aiocoap.transports.tls.TLSClient

Bases: _TLSMixIn, TCPClient