# Re: can't compile the sample code for JCE1.2

Yuri Romanenko (yuri@CS.UCLA.EDU)
Wed, 13 May 1998 17:30:21 -0700 (PDT)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Previous message: Marianne Mueller: "Re: Java Security Archive: Volume 4 ???"
- Next in thread: Yuri Romanenko: "Re: can't compile the sample code for JCE1.2"

    Date: Wed, 13 May 1998 17:30:21 -0700 (PDT)

    From: Yuri Romanenko <yuri@CS.UCLA.EDU>

    To: Jan Luehe <Jan.Luehe@Eng>

    Subject: Re: can't compile the sample code for JCE1.2

    In-Reply-To: <libSDtMail.9805131649.27177.luehe@shorter>

Ok,

I found the problem:

I was reading HTML file thru the browser and did copy and paste from
there. Well, it was a Java program in the HTML page and some of the code
was interpreted as HTML by the IExplorer 4.0 browser (for NT) and was not
properly displayed. When I opened the file as a regular text file I got
all the code all right. If your browser experience the same behavior you
might want to put a note on the web page or in FAQ:)

Thank you very much for helping me solve this problem.

Sincerely,
Yuri Romanenko
yuri@cs.ucla.edu

On Wed, 13 May 1998, Jan Luehe wrote:

> Yuri:
>
>
> > I did copy the code correctly: I downloaded JCE1.2 ea2 (for NT) about a
> > week ago.
> > The code for Diffie-Hellman key agreement protocol between 2 parties is
> > present in the following file:
> > ... jce12-ea2-dom\doc\guide\API_users_guide.html
>
>
> The file that you sent me is corrupted. The examples in it
> are not complete. Somebody must have modified them.
>
> I just downloaded the JCE package myself and verified that
> the examples in the user guide are complete and compile.
>
>
> > If you could send me updated code that WOULD BE GREAT!!!
>
>
> Somebody must have modified the user guide installed on
> your system. Please download the JCE package again.
>
>
> > If you guys also have some implementation of RSA or other asymmetric
> > algorithm I would like to look at it as well (if possible).
>
>
> RSA DSI provides a toolkit called Jsafe, which contains
> an RSA implementation in Java. (Sun is not allowed to supply
> an RSA implementation in Java because of licensing restrictions.)
>
> The next Jsafe version will be compatible with JCE. This means
> that you will be able to use RSA via the JCE API methods (provided
> that you have purchased Jsafe and registered their provider with JCE).
>
>
> Jan
>
>

- Previous message: Marianne Mueller: "Re: Java Security Archive: Volume 4 ???"
- Next in thread: Yuri Romanenko: "Re: can't compile the sample code for JCE1.2"