linc01n
linc01n

Reputation: 438

How to Calculate Fingerprint From SSH DSA Public Key in Java?

Similar to question How to Calculate Fingerprint From SSH RSA Public Key in Java? , I would like to know how to Calculate Fingerprint for a DSA Public Key. I've got the dsaPublicKey object.

DSAPublicKey dsaPublicKey = (DSAPublicKey) publicKey;

Upvotes: -1

Views: 341

Answers (1)

skalet
skalet

Reputation: 384

Following the directions in the other answer together with the docs for DSAPublicKey should be sufficient for you.

Upvotes: -1

Related Questions