Date: Sat, 10 May 1997 08:04:11 -0700
From: David.Brownell@Eng (David Brownell)
Message-Id: <199705101504.IAA02637@argon.eng.sun.com>
To: java-security@web2.javasoft.com, willard@ctron.com
Subject: Re: Question on Certificate Interface
Since "Certificate" is an interface, you can't work using just
that class ... you need to work with some concrete class, such
as one implementing X.509 certificates, and get an instance
of that class. Something like
Certificate cert = new X509Cert ();
cert.decode (new FileInputStream (filename));
There are no fully supported certificate classes in JDK 1.1,
though that's getting fixed in an upcoming JDK release.
- Dave