Question: Except for server and client, we also need a Certificate Authority ( CA ) who validates server s public key. We assume both server and

Except for server and client, we also need a Certificate Authority (CA) who
validates servers public key. We assume both server and client has CAs public
key stored in a file.
Do the following tasks locally (without connecting server and client).
1. Create a class CA, which has its own RSA key pair.
2. Implement a Sign function for CA, which takes CAs secret key and
servers public key as input, and generates a certificate.
3. Implement a Verify function, which takes the certificate (and the list
of recognized CAs) as input, and output the result (True/False). The
function is typically used by client, so you may also need to consider what
1

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!