pydtls/dtls
mcfreis ff509e0724 Added more on error evaluation and a method to get the peer certificate chain
* dtls/__init__.py: import error codes from err.py as error_codes for external access
* dtls/err.py: Added errors for ERR_WRONG_SSL_VERSION, ERR_CERTIFICATE_VERIFY_FAILED, ERR_NO_SHARED_CIPHER and ERR_SSL_HANDSHAKE_FAILURE
* dtls/openssl.py:
	- Added constant SSL_BUILD_CHAIN_FLAG_NONE for SSL_CTX_build_cert_chain()
	- Added method SSL_get_peer_cert_chain()
* dtls/patch.py: Added getpeercertchain() as method to ssl.SSLSocket()
* dtls/sslconnection.py:
	- Bugfix SSLContext.set_ecdh_curve() returns 1 for success and 0 for failure
	- SSLContext.build_cert_chain() changed default flags to SSL_BUILD_CHAIN_FLAG_NONE
	- In SSLConnection() the mtu size gets only set if no user config function is given
	- SSLConnection.listen() raises an exception for ERR_WRONG_VERSION_NUMBER, ERR_COOKIE_MISMATCH, ERR_NO_SHARED_CIPHER and all other unknown errors
	- SSLConnection.read() and write() now can also raise ERR_PORT_UNREACHABLE
	- If SSLConnection.write() successfully writes bytes to the peer, then the handshake is assumed to be okay
	- Added method SSLConnection.getpeercertchain()
* dtls/test/unit.py: ThreadedEchoServer() with an extra exception branch for the newly raised exceptions in SSLConnection.listen()
2017-03-20 16:39:50 +01:00
..
demux Licensing 2012-12-18 11:14:31 -08:00
prebuilt Updating openSSL libs to v1.0.2l-dev 2017-03-20 14:36:33 +01:00
test Added more on error evaluation and a method to get the peer certificate chain 2017-03-20 16:39:50 +01:00
__init__.py Added more on error evaluation and a method to get the peer certificate chain 2017-03-20 16:39:50 +01:00
err.py Added more on error evaluation and a method to get the peer certificate chain 2017-03-20 16:39:50 +01:00
openssl.py Added more on error evaluation and a method to get the peer certificate chain 2017-03-20 16:39:50 +01:00
patch.py Added more on error evaluation and a method to get the peer certificate chain 2017-03-20 16:39:50 +01:00
sslconnection.py Added more on error evaluation and a method to get the peer certificate chain 2017-03-20 16:39:50 +01:00
tlock.py Licensing 2012-12-18 11:14:31 -08:00
util.py Added methods getting the curves supported by the runtime openSSL lib 2017-03-20 15:15:14 +01:00
x509.py Beautified lists and maps, grouped imports for easy merges in the future - no changed functionality! 2017-03-20 14:14:14 +01:00