Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Other Java > BOOK: Beginning Cryptography with Java
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 2nd, 2015, 04:45 PM
Registered User
Points: 27, Level: 1
Points: 27, Level: 1 Points: 27, Level: 1 Points: 27, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2015
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts
Default Generating X509v(1/3) certificates in java (bouncy castle)

I am trying to use the updated class of X509V1CertificateGenerator, Class X509v1CertificateBuilder. The documentation for the first class can be found here and for the second one (the one I intend to use), here.

Why is there no org.bouncycastle.cert.* package as suggested in the documentation? I am using maven to retrieve the bouncy castle jars:

Code:
<dependency>
    <groupId>org.bouncycastle</groupId>
    <artifactId>bcprov-jdk15on</artifactId>
    <version>1.53</version>
</dependency>
Reply With Quote
  #2 (permalink)  
Old November 2nd, 2015, 05:19 PM
dgh dgh is offline
Wrox Author
Points: 864, Level: 11
Points: 864, Level: 11 Points: 864, Level: 11 Points: 864, Level: 11
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2005
Location: , , .
Posts: 206
Thanks: 0
Thanked 20 Times in 20 Posts
Default

You need to use the bcpkix-jdk15on jar as well. It has the certificate generation classes in it.

Regards,

David
Reply With Quote
The Following User Says Thank You to dgh For This Useful Post:
Sebi (November 2nd, 2015)
  #3 (permalink)  
Old November 2nd, 2015, 06:08 PM
Registered User
Points: 27, Level: 1
Points: 27, Level: 1 Points: 27, Level: 1 Points: 27, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2015
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by dgh View Post
You need to use the bcpkix-jdk15on jar as well. It has the certificate generation classes in it.

Regards,

David
Thanks. That did the trick.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
bouncy castle and Cades signature layloun BOOK: Beginning Cryptography with Java 0 April 10th, 2015 04:55 AM
Which version of Bouncy Castle ? Antonius Block BOOK: Beginning Cryptography with Java 1 September 29th, 2013 05:16 AM
without Bouncy castle ECC cannot be implemented? nivsri BOOK: Beginning Cryptography with Java 6 February 28th, 2011 08:11 AM
Latest Bouncy Castle Release 1.46 jhwong56 BOOK: Beginning Cryptography with Java 2 February 25th, 2011 07:19 PM
Ask about Bouncy Castle provider ucnhon BOOK: Beginning Cryptography with Java 2 August 5th, 2010 08:09 PM



All times are GMT -4. The time now is 08:59 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.