com.maverick.ssh.components
Interface SshPrivateKey
- All Known Subinterfaces:
- SshDsaPrivateKey, SshRsaPrivateCrtKey, SshRsaPrivateKey
- All Known Implementing Classes:
- Ssh2DsaPrivateKey, Ssh2DsaPrivateKey, Ssh2RsaPrivateCrtKey, Ssh2RsaPrivateCrtKey, Ssh2RsaPrivateKey, Ssh2RsaPrivateKey
public interface SshPrivateKey
Interface for SSH supported private keys.
- Author:
- Lee David Painter
|
Method Summary |
java.lang.String |
getAlgorithm()
|
byte[] |
sign(byte[] data)
Create a signature from the data. |
sign
byte[] sign(byte[] data)
throws java.io.IOException
- Create a signature from the data.
- Parameters:
data -
- Returns:
- byte[]
- Throws:
SshException
java.io.IOException
getAlgorithm
java.lang.String getAlgorithm()
Copyright © 2003-2008 SSHTools LTD. All Rights Reserved.