Acess to certificate extensions in X.509 certificates?

DavidTaylor (DavidTaylor@forge.com.au)
Thu, 29 Apr 1999 10:39:07 +1000

Date: Thu, 29 Apr 1999 10:39:07 +1000
From: DavidTaylor <DavidTaylor@forge.com.au>
To: java-security@java.sun.com
Subject: Acess to certificate extensions in X.509 certificates?

We're looking at using X.509 certificates in our application and want to
use extensions.

Looking through the JDK1.2 java.security.cert.Certificate and
java.security.cert.X509Certificate javadocs there does not seem to be
any obvious way to get an enumeration or collection of the extensions,
despite there being a java.security.cert.X509Extension interface.

Is the accepted method for gaining access to extensions to get the
encoded certificate and interpret the DER encoding in the application?

--

Regards, David Taylor

======================================================================= David Taylor e-mail DavidTaylor@forge.com.au Software Engineer Forge Research Pty Ltd Phone +61 2 9209 4175 PO Box 598, Alexandria Fax +61 2 9209 4172 NSW 1435, Australia Web http://www.forge.com.au =======================================================================