I think you can do as just below:
byte[] buf  = x509certificate.getPublicKey().getEncoded();
String s = new String(buf);


On Thu, 10 Mar 2005 02:35:03 +0000 (GMT), Sanjeev Srivastava
<[EMAIL PROTECTED]> wrote:
> 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