Is there any way to convert DSA private key as string or byte[] in java?
You call the getEncoded() method of the key.
getEncoded()
Related: