com.maverick.ssh.components
Interface SshRsaPrivateKey
- All Superinterfaces:
- SshPrivateKey
- All Known Subinterfaces:
- SshRsaPrivateCrtKey
- All Known Implementing Classes:
- Ssh2RsaPrivateCrtKey, Ssh2RsaPrivateCrtKey, Ssh2RsaPrivateKey, Ssh2RsaPrivateKey
- public interface SshRsaPrivateKey
- extends SshPrivateKey
This interface should be implemented by all RSA private key
implementations.
- Author:
- Lee David Painter
getModulus
public java.math.BigInteger getModulus()
getPrivateExponent
public java.math.BigInteger getPrivateExponent()
sign
public byte[] sign(byte[] msg)
throws java.io.IOException
- Description copied from interface:
SshPrivateKey
- Create a signature from the data.
- Specified by:
sign in interface SshPrivateKey
- Parameters:
msg -
- Returns:
- byte[]
- Throws:
java.io.IOException
Copyright © 2003-2008 SSHTools LTD. All Rights Reserved.