Initial commit.
Initial commit.
Initial commit.
-Added junit + mockito integration.
-Added example html form.
- Added HttpClient implementation that posts to a servlet.
- Added controller that just returns the post request body in the http response body.
Renamed Test Class.
Added comment.
- Added integration test for httpclient and corresponding spring controller.
Removed unnecessary integration test class double.
Refactored integration test name.
- Remove unnecessary  contextPath configuration for maven jetty plugin, as the context path will be the  finalName of the per default, which is correct in this example.
Forgotten to stage this.
Added basic test about whether bouncycastle can be used.
Refactored and extended Bouncy Castle strong encryption test.
Added request mapping in controller that allows to retrieve a public key for a given security parameter.

- Added public key repository that allows to cache public keys for security parameters.
Updated httpClient so that it can retrieve a public key from the controller.

-Very basic integration test added for public key retrieval.
Refactored httpClient to use a generic method to write from inputStream to outputStream when retrieving the public Key.
Added xml dummy file that should be partially encrypted  using the public key of the controller. The client can then send the encrypted xml to the server.
Added unit test  that makes sure xml elements are replaced and encrypted properly.
- HttpClient reconstructs a PublicKey Instance from encoded byte array that represents the publice key. The byte array (base 64 encoded) can be retrieved via the spring controller.