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;
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;
Following the directions in the other answer together with the docs for DSAPublicKey
should be sufficient for you.