Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

V3 Extensions
Hi,

I am building an application where I have a CA which hands out
certificates to clients.  Besides signing the public key, I need to add
extensions which grant restricted access to clients when they use the
certificates.  I looked over the bunch of available extensions, but
nothing matches my requirement.  I am using the IAIK package which is
very very similar to the JCE.  I have 3 questions :

* Is there some sample code somewhere which shows how to use the
extensions?  I can't seem to get a hang of them.

* If I do extend the V3Extension class with a new class say
MyExtensions, and then add this extension as non-critical to the issued
certificate, will this extension ever be used during the automated setup
of the SSL connection.  I mean that does the JCE or JSSE actually care
about newly added non-critical extensions?  I already have my own
TrustManager during SSL setup and hence I can act on the Extensions just
fine.

* Say I created a certificate and added a private extension
(MyExtension).  Now I want to transfer this over the network and hence I
call
cert.writeTo(socket.getOutputStream());

On the receiver side i will call

temp_cert = new iaik.x509.X509Certificate (
ssl_socket.getInputStream());

Now is this new certificate going to have the correct extensions which i
added?

I appreciate pointers on these topics.

Priyank

Report this thread to moderator Post Follow-up to this message
Old Post
Priyank Patel
03-20-04 01:54 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Java Security archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 12:51 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.