Class SshPrivateKey
java.lang.Object
com.sshtools.j2ssh.transport.publickey.SshPrivateKey
- Direct Known Subclasses:
SshRsaPrivateKey
- Version:
- $Revision: 1.17 $
- Author:
- $author$
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract byte[]
generateSignature
(byte[] data) abstract String
abstract int
abstract byte[]
abstract SshPublicKey
-
Constructor Details
-
SshPrivateKey
public SshPrivateKey()Creates a new SshPrivateKey object.
-
-
Method Details
-
getAlgorithmName
- Returns:
-
getBitLength
public abstract int getBitLength()- Returns:
-
getEncoded
public abstract byte[] getEncoded()- Returns:
-
getPublicKey
- Returns:
-
generateSignature
- Parameters:
data
-- Returns:
- Throws:
InvalidSshKeySignatureException
-