Search code examples
dsajava

how to convert DSA private key to byte[] ?


Is there any way to convert DSA private key as string or byte[] in java?


Solution

  • You call the getEncoded() method of the key.

    Related: