Interface SshDsaPrivateKey
- All Superinterfaces:
SshPrivateKey
- All Known Implementing Classes:
Ssh2DsaPrivateKey
This interface should be implemented by all DSA private key
implementations.
- Author:
- Lee David Painter
-
Method Summary
Methods inherited from interface com.sshtools.common.ssh.components.SshPrivateKey
getAlgorithm, sign
-
Method Details
-
getX
BigInteger getX() -
sign
Description copied from interface:SshPrivateKeyCreate a signature from the data.- Specified by:
signin interfaceSshPrivateKey- Returns:
- byte[]
- Throws:
IOException
-
getJCEPrivateKey
DSAPrivateKey getJCEPrivateKey()- Specified by:
getJCEPrivateKeyin interfaceSshPrivateKey
-
getPublicKey
SshDsaPublicKey getPublicKey()
-