# Re: ClassNotFoundException

Jan Luehe (luehe@laguna.eng.sun.com)
Thu, 25 Feb 1999 11:43:37 -0800 (PST)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Arjun Khanna: "SecureRandom."
- Previous message: Ron McEwen: "JCA and smartcards, JCE 1.2 release"
- Maybe in reply to: Shikha Gupta - NSB: "ClassNotFoundException"

    Date: Thu, 25 Feb 1999 11:43:37 -0800 (PST)

    From: Jan Luehe <luehe@laguna.eng.sun.com>

    Subject: Re: ClassNotFoundException

    To: java-security@java.Sun.COM, shikhag@niitdel.niit.co.in

> interface PublicKey1 extends java.io.Serializable {
> public String getAlgorithm();
> public String getFormat();
> public byte[] getEncoded();
> }

Why are you defining your own "PublicKey1" interface?
You should be using the java.security.PublicKey interface,
which does exactly what you need.

Jan

- Next message: Arjun Khanna: "SecureRandom."
- Previous message: Ron McEwen: "JCA and smartcards, JCE 1.2 release"
- Maybe in reply to: Shikha Gupta - NSB: "ClassNotFoundException"