pydtls/dtls/test
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
..
certs Added certificate creation using ECDSA 2017-03-20 16:08:11 +01:00
__init__.py Licensing 2012-12-18 11:14:31 -08:00
echo_seq.py SSL_write() extended to handle ctypes.Array as data 2017-03-20 14:19:02 +01:00
makecerts First Stable Release 2014-01-18 18:02:25 -08:00
makecerts_ec.bat Added certificate creation using ECDSA 2017-03-20 16:08:11 +01:00
openssl_ca.cnf Added certificate creation using ECDSA 2017-03-20 16:08:11 +01:00
openssl_server.cnf Added certificate creation using ECDSA 2017-03-20 16:08:11 +01:00
rl.py Licensing 2012-12-18 11:14:31 -08:00
simple_client.py SSL_write() extended to handle ctypes.Array as data 2017-03-20 14:19:02 +01:00
test_perf.py Performance test port to Windows 2012-12-24 12:30:55 -08:00
unit.py Added more on error evaluation and a method to get the peer certificate chain 2017-03-20 16:39:50 +01:00