String cert = String(buf);

http://java.sun.com/j2se/1.4.2/docs/api/index.html
And look up the String class

Doug

----- Original Message ----- From: "Sanjeev Srivastava" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[email protected]>
Sent: Wednesday, March 09, 2005 9:35 PM
Subject: Help - Byte [] to String



Hi All

Can anybody tell me how to convert this Byte [] to
String..

byte[] buf =
x509certificate.getPublicKey().getEncoded();


Please help....

Thanks,
Sanjeev


Send instant messages to your online friends http://uk.messenger.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to