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 November 2nd, 2015, 04:45 PM
Registered User
 
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>
 
Old November 2nd, 2015, 05:19 PM
dgh dgh is offline
Wrox Author
 
Join Date: Aug 2005
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
The Following User Says Thank You to dgh For This Useful Post:
Sebi (November 2nd, 2015)
 
Old November 2nd, 2015, 06:08 PM
Registered User
 
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.





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





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