About X509Certificate
843810Dec 11 2003 — edited Dec 11 2003Hi, dear all...
I am a new beginner to JCE field.
I test a certificate program, but a confusing problem happens....
I use the form as follows:
X509Certificate c = X509Certificate.getInstance(new byte[10]);
But compiler tell me this is wrong?!
TestX.java:10: cannot resolve symbol
symbol : method getInstance (byte[])
location: class java.security.cert.X509Certificate
X509Certificate c = X509Certificate.getInstance(new byte[10]);
But I have searched the Docs, it has this method!
I am so cofused.@@
Please tell me what is wrong with this...
Thank you very much!
Ps:I have install j2sdk1.4.2
and I have import java.security.cert.X509Certificate;