Interface SshRsaPrivateKey
- All Superinterfaces:
SshPrivateKey
- All Known Subinterfaces:
SshRsaPrivateCrtKey
- All Known Implementing Classes:
Ssh2RsaPrivateCrtKey,Ssh2RsaPrivateKey
This interface should be implemented by all RSA private key
implementations.
- Author:
- Lee David Painter
-
Method Summary
Methods inherited from interface com.sshtools.common.ssh.components.SshPrivateKey
getAlgorithm, getJCEPrivateKey, sign
-
Method Details
-
getModulus
BigInteger getModulus() -
getPrivateExponent
BigInteger getPrivateExponent() -
sign
Description copied from interface:SshPrivateKeyCreate a signature from the data.- Specified by:
signin interfaceSshPrivateKey- Returns:
- byte[]
- Throws:
IOException
-