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