Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

X.509 certificates

135 views
Skip to first unread message

brawnwithbrain

unread,
Nov 18, 2012, 4:28:26 AM11/18/12
to
Please, I need the answer to this question.

As I am a novice programmer, I am finding it hard to answer this question.

Thank You.

Demonstrate the use of X.509 certificate to exchange messages that achieve confidentiality. The client loads the server’s certificate and proceeds to verify its authenticity and validity. This includes checking the expiration date and verifying if the certificate was signed using the private key that corresponds to
the specified public key. Also, print the content of the certificate you received. If the certificate received is valid, proceed to exchange confidential messages between the two parties.

Create an X.509 certificate for the Server, using RSA as the key generation algorithm. This certificate can be self-signed and it should have your name. Use keytool for this purpose. keytool is installed as part of the standard Java SDK/Runtime library, and is located in its bin subfolder. Refer to the keytool’s documentation for further instructions.

http://download.oracle.com/javase/1.5.0/docs/tooldocs/windows/keytool.html


Roedy Green

unread,
Nov 18, 2012, 9:59:16 AM11/18/12
to
On Sun, 18 Nov 2012 03:28:26 -0600, brawnwithbrain
<brawnwi...@gmail.com> wrote, quoted or indirectly quoted someone
who said :

>Please, I need the answer to this questi

see http://mindprod.com/jgloss/homework.html
see http://mindprod.com/jgloss/certificate.html

What you are doing as is stupid as paying someone to go to the gym for
you.
--
Roedy Green Canadian Mind Products http://mindprod.com
Types of Garbage Collection:
()In Canada, the government sends men to your house every every week
to take away your garbage. Hoarders are free to hang onto things
they don't really need.
()In third world countries, it is up to you to take your own garbage away.
()Java's garbage collection system is analogous to a garbage removal
system where every hour, workers scan your house for junk mail, the
contents of waste baskets, carpet lint, toenail clippings and anything
else they are absolutely sure you don't want to keep.
()C++'s system for disposing of unreferenced objects is similar to India's,
with the strange feature that undiscarded garbage becomes invisible but
still stinks.

Arne Vajhøj

unread,
Nov 18, 2012, 12:07:07 PM11/18/12
to
On 11/18/2012 4:28 AM, brawnwithbrain wrote:
> Please, I need the answer to this question.
>
> As I am a novice programmer, I am finding it hard to answer this question.

> Demonstrate the use of X.509 certificate to exchange messages that achieve confidentiality. The client loads the server’s certificate and proceeds to verify its authenticity and validity. This includes checking the expiration date and verifying if the certificate was signed using the private key that corresponds to
> the specified public key. Also, print the content of the certificate you received. If the certificate received is valid, proceed to exchange confidential messages between the two parties.
>
> Create an X.509 certificate for the Server, using RSA as the key generation algorithm. This certificate can be self-signed and it should have your name. Use keytool for this purpose. keytool is installed as part of the standard Java SDK/Runtime library, and is located in its bin subfolder. Refer to the keytool’s documentation for further instructions.
>
> http://download.oracle.com/javase/1.5.0/docs/tooldocs/windows/keytool.html

Start doing as the assignment requires and ask specific questions
when you get stuck.

Arne

Torsten Kirschner

unread,
Nov 24, 2012, 5:24:09 PM11/24/12
to
Den 11/18/12 10:28 AM, skrev brawnwithbrain:
[...]
> As I am a novice programmer, I am finding it hard to answer this
> question.
[...]
> Demonstrate the use of X.509 certificate to exchange messages that
> achieve confidentiality.
[...]

If Google cannot help you, you may want to get a copy of this book:
"Beginning Cryptography with Java"
(http://www.wrox.com/WileyCDA/WroxTitle/Beginning-Cryptography-with-Java.productCd-0764596330.html),
and look at what The Legion of the Bouncy Castle
(http://www.bouncycastle.org/) are doing.

The book offers example code that you can download from its webpage; I
am pretty sure all of your assignment is covered there.





0 new messages