Re: [Dev] Geting certificate fingerprint (MD5) value form a certificate

2013-05-09 Thread Pushpalanka Jayawardhana
Hi Manoj, At the second step make sure you do not do any modification to the signature value read from the keystore. Also AFAIK certificate is generally used with public key. Not private key. Hope this will make some help. Thanks, Pushpalanka Jayawardhana Software Engineer WSO2 Lanka (pvt)

Re: [Dev] Geting certificate fingerprint (MD5) value form a certificate

2013-05-09 Thread Ananda Manoj Kumara
Hi Pushpalanka, During the second step I just pass the returned values of the byte[] to MessageDigest instance. thank you for the feedback and I'll look in to your points. Best Regards.. Manoj Kumara Software Engineer WSO2, Inc.; http://wso2.com Twitter: http://twitter.com/ManKuma Mobile:

Re: [Dev] Geting certificate fingerprint (MD5) value form a certificate

2013-05-09 Thread Ananda Manoj Kumara
Hi, I have managed to solve the problem. The step was to get the encoded value first from the certificate and then use the MessageDigest instance with MD5 algorithm. Thank you, Manoj Best Regards.. Manoj Kumara Software Engineer WSO2, Inc.; http://wso2.com Twitter: