Basic SSL communication between client and server

Signed-off-by: Claudiu Ghioc <claudiu.ghioc@gmail.com>
The client and server can send each other commands

Signed-off-by: Claudiu Ghioc <claudiu.ghioc@gmail.com>
Succesful SSL authentication

* i use some certificates generated beforehand
using some scripts

Signed-off-by: Claudiu Ghioc <claudiu.ghioc@gmail.com>
Clened the code in Server

Signed-off-by: Claudiu Ghioc <claudiu.ghioc@gmail.com>
Replaced CustomeTrustManager

* use instead a TrustManager from a TrustManagerFactory

Signed-off-by: Claudiu Ghioc <claudiu.ghioc@gmail.com>
Separate some server side classes

* got client information from its certificate in the server
* the server also checks the client's certificate
when it connects

Signed-off-by: Claudiu Ghioc <claudiu.ghioc@gmail.com>
Completed basic file upload from client

* no encryption, no scan

Signed-off-by: Claudiu Ghioc <claudiu.ghioc@gmail.com>
Finished the client side

Signed-off-by: Claudiu Ghioc <claudiu.ghioc@gmail.com>
Started implementing the encryption mechanism

Signed-off-by: Claudiu Ghioc <claudiu.ghioc@gmail.com>
Save file and client information in an encrypted file

Signed-off-by: Claudiu Ghioc <claudiu.ghioc@gmail.com>
Changes in uploading mechanism

Signed-off-by: Claudiu Ghioc <claudiu.ghioc@gmail.com>
Successful communication with the Authorization Server

Signed-off-by: Claudiu Ghioc <claudiu.ghioc@gmail.com>
Successful add to the bann list in auth Server

Signed-off-by: Claudiu Ghioc <claudiu.ghioc@gmail.com>
Finished banning mechanism

Signed-off-by: Claudiu Ghioc <claudiu.ghioc@gmail.com>
Reorganized the resources structure

Signed-off-by: Claudiu Ghioc <claudiu.ghioc@gmail.com>
Finished the download procedure

* the client who wants to download is checked to
have a lower priority than the owner of the initial
file

Signed-off-by: Claudiu Ghioc <claudiu.ghioc@gmail.com>
Final commit

* cleaned up code
* synchronized acces to the file details on server

Signed-off-by: Claudiu Ghioc <claudiu.ghioc@gmail.com>
Added README and test files

Signed-off-by: Claudiu Ghioc <claudiu.ghioc@gmail.com>