How to get X.509 SHA1 fingerprint?

May 15, 2014 at 6:13 PM
Edited May 15, 2014 at 6:14 PM
Is there a way to get an X.509 certificate's SHA-1 fingerprint using SSH.NET?

I can get a fingerprint during the BaseClient.HostKeyReceived event but the fingerprint doesn't match the one I'm supposed to get (which I generated via OpenSSL commands), probably because it is generated using a different hash algorithm (I'm guessing here).

Any help appreciated, thanks.