Commit Graph
3 Commits
Author SHA1 Message Date
Oliver Gondža 63ceab84a5 Test PrivateKeyProvider 2014-03-10 22:21:50 +01:00
Marco Miller 8067edd97d Throw IOException if negative int from port-based cli connection stream.
-Instead of failing at initializing array with negative size.
Introducing PowerMock test for the zero-size array case.
Negative-size case not tested thx to unhelping PowerMock behavior.
Using ConnectionMockTest instead of ConnectionTest; needed by PowerMock.
2013-11-14 10:46:24 -05:00
Kohsuke Kawaguchi 25d990c539 Implemented transport security to CLI connection.
It uses Diffie Hellman to come up with one-time session key, then have
the server sign this session key to allow the client to verify that
there's no man in the middle.
2012-05-24 15:49:37 -07:00