Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(Practical Work) Major task in the course work Write a Java RMI client to interact with a remote server securely with the secret key provided

image text in transcribed
(Practical Work) Major task in the course work Write a Java RMI client to interact with a remote server securely with the secret key provided to retrieve the document residing at the server 1 A. File Retrieval Exercise 5 Marks Write a Jua code tising Remote Method Invocation (RMT) system, which retrieves a file specified by a Client from the Server. You are expected to follow the following general steps when using the Java RMI a) Writing the required remote interface 1 Mark Implementing the interface I Mark Creating stub and skeleton (Compiling remote Interface and its implementation) 1 Mark d) Starting the registry mechanism Writing the main Client and Server programs 1 Mark 1) Execution of the Client and Server to show the required output I Mark The contents of the retrieved file may be saved in another file or may be printed on the screen 1 B. Secure File Retrieval Exercise 15 Marks Modify the code of the exercise 1A and include additional code wherever appropriate so that the Interaction between the Cllent and Server is secure Along with the default RMISecurity Manager you use RSA encryption algorithm to generate the digital signature and for secure Client authentication. The following steps are expected and evaluated a) Creating a key store and generating a pair of public and private keys h) Exporting a digital certificate for the above key into a file Creating a trest store and import the certificate as a trusted certificate d) Execution of the final program and presentation 3 Marks 2 Marks 3 Marks 5 Marks The contents of the retrieved file may be served in another file or may be printed on the screen Upon program execution you are required to explain briefly all the key in-built classes and methods used to implement Q. What changes are required to implement the above program in a physical network rather than a single machine (Practical Work) Major task in the course work Write a Java RMI client to interact with a remote server securely with the secret key provided to retrieve the document residing at the server 1 A. File Retrieval Exercise 5 Marks Write a Jua code tising Remote Method Invocation (RMT) system, which retrieves a file specified by a Client from the Server. You are expected to follow the following general steps when using the Java RMI a) Writing the required remote interface 1 Mark Implementing the interface I Mark Creating stub and skeleton (Compiling remote Interface and its implementation) 1 Mark d) Starting the registry mechanism Writing the main Client and Server programs 1 Mark 1) Execution of the Client and Server to show the required output I Mark The contents of the retrieved file may be saved in another file or may be printed on the screen 1 B. Secure File Retrieval Exercise 15 Marks Modify the code of the exercise 1A and include additional code wherever appropriate so that the Interaction between the Cllent and Server is secure Along with the default RMISecurity Manager you use RSA encryption algorithm to generate the digital signature and for secure Client authentication. The following steps are expected and evaluated a) Creating a key store and generating a pair of public and private keys h) Exporting a digital certificate for the above key into a file Creating a trest store and import the certificate as a trusted certificate d) Execution of the final program and presentation 3 Marks 2 Marks 3 Marks 5 Marks The contents of the retrieved file may be served in another file or may be printed on the screen Upon program execution you are required to explain briefly all the key in-built classes and methods used to implement Q. What changes are required to implement the above program in a physical network rather than a single machine

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions