Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Other Java > BOOK: Beginning Cryptography with Java
|
BOOK: Beginning Cryptography with Java
This is the forum to discuss the Wrox book Beginning Cryptography with Java by David Hook; ISBN: 9780764596339
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Cryptography with Java section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 30th, 2007, 03:36 AM
Registered User
 
Join Date: Jan 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default error in the BasicECDSAExample program

I am getting the following error:

BasicECDSAExample.java:18: cannot find symbol
symbol : variable Utils
location: class BasicECDSAExample
 signature.initSign(keyPair.getPrivate(),Utils.crea teFixedRandom());
                                         ^
1 error

is it because i am not using the bouncycastle provider?
Kindly provide me with a solution to be used with only jdk.

 
Old January 30th, 2007, 09:27 PM
dgh dgh is offline
Wrox Author
 
Join Date: Aug 2005
Posts: 206
Thanks: 0
Thanked 20 Times in 20 Posts
Default

There is another class called Utils in the same package. You'll find one for each chapter.

I am afraid you will not make much progress with this if you do not install the Bouncy Castle Provider though. The provider that comes with the JDK does not currently support ECDSA.

Regards,

David

 
Old February 5th, 2007, 01:22 AM
Registered User
 
Join Date: Jan 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i have found the required code for the utils class.thanx.is it enough to include the bouncy castle provider only?then i do not need jdk1.5?currently i m working on j2sdk1.4.am i supposed to include the bouncy castle provider in this itself?

 
Old February 5th, 2007, 10:04 PM
dgh dgh is offline
Wrox Author
 
Join Date: Aug 2005
Posts: 206
Thanks: 0
Thanked 20 Times in 20 Posts
Default

You can do most things with the JDK 1.4 and the provider. If you're trying to use ECDSA with JDK 1.4 you will need to use the Bouncy Castle API which is described in the appendix.

Regards,

David






Similar Threads
Thread Thread Starter Forum Replies Last Post
outlook addin program error maricar C# 1 August 21st, 2008 02:58 AM
How to get error codes using java program kasipandian Spring 1 August 13th, 2008 12:57 AM
Error when trying to run program. Asp_Developer ASP.NET 2.0 Basics 1 May 21st, 2008 06:04 AM
First Servlets Program Error mrsgq Servlets 3 March 11th, 2004 04:37 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.