Class SshDssKeyPair
- java.lang.Object
-
- com.sshtools.j2ssh.transport.publickey.SshKeyPair
-
- com.sshtools.j2ssh.transport.publickey.dsa.SshDssKeyPair
-
public class SshDssKeyPair extends SshKeyPair
- Version:
- $Revision: 1.17 $
- Author:
- $author$
-
-
Constructor Summary
Constructors Constructor Description SshDssKeyPair()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SshPrivateKey
decodePrivateKey(byte[] encoded)
SshPublicKey
decodePublicKey(byte[] encoded)
void
generate(int bits)
-
Methods inherited from class com.sshtools.j2ssh.transport.publickey.SshKeyPair
getPrivateKey, getPublicKey, setPrivateKey, setPrivateKey, setPublicKey
-
-
-
-
Method Detail
-
decodePrivateKey
public SshPrivateKey decodePrivateKey(byte[] encoded) throws InvalidSshKeyException
- Specified by:
decodePrivateKey
in classSshKeyPair
- Parameters:
encoded
-- Returns:
- Throws:
InvalidSshKeyException
-
decodePublicKey
public SshPublicKey decodePublicKey(byte[] encoded) throws InvalidSshKeyException
- Specified by:
decodePublicKey
in classSshKeyPair
- Parameters:
encoded
-- Returns:
- Throws:
InvalidSshKeyException
-
generate
public void generate(int bits)
- Specified by:
generate
in classSshKeyPair
- Parameters:
bits
-
-
-