Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #19781 > unrolled thread

X.509 certificates

Started bybrawnwithbrain <brawnwithbrain@gmail.com>
First post2012-11-18 03:28 -0600
Last post2012-11-24 23:24 +0100
Articles 4 — 4 participants

Back to article view | Back to comp.lang.java.programmer


Contents

  X.509 certificates brawnwithbrain <brawnwithbrain@gmail.com> - 2012-11-18 03:28 -0600
    Re: X.509 certificates Roedy Green <see_website@mindprod.com.invalid> - 2012-11-18 06:59 -0800
    Re: X.509 certificates Arne Vajhøj <arne@vajhoej.dk> - 2012-11-18 12:07 -0500
    Re: X.509 certificates Torsten Kirschner <torsten.kirschner@gmail.com> - 2012-11-24 23:24 +0100

#19781 — X.509 certificates

Frombrawnwithbrain <brawnwithbrain@gmail.com>
Date2012-11-18 03:28 -0600
SubjectX.509 certificates
Message-ID<dtqdneFkI-6nNzXNnZ2dnUVZ_r-dnZ2d@giganews.com>
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

[toc] | [next] | [standalone]


#19782

FromRoedy Green <see_website@mindprod.com.invalid>
Date2012-11-18 06:59 -0800
Message-ID<istha89r6e492f7u1d5ggrqlvql9p822km@4ax.com>
In reply to#19781
On Sun, 18 Nov 2012 03:28:26 -0600, brawnwithbrain
<brawnwithbrain@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.

[toc] | [prev] | [next] | [standalone]


#19791

FromArne Vajhøj <arne@vajhoej.dk>
Date2012-11-18 12:07 -0500
Message-ID<50a915bc$0$293$14726298@news.sunsite.dk>
In reply to#19781
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

[toc] | [prev] | [next] | [standalone]


#19908

FromTorsten Kirschner <torsten.kirschner@gmail.com>
Date2012-11-24 23:24 +0100
Message-ID<k8rhe5$qff$1@speranza.aioe.org>
In reply to#19781
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.




[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.java.programmer


csiph-web