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 SshPrivateKeydecodePrivateKey(byte[] encoded)SshPublicKeydecodePublicKey(byte[] encoded)voidgenerate(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:
decodePrivateKeyin classSshKeyPair- Parameters:
encoded-- Returns:
- Throws:
InvalidSshKeyException
-
decodePublicKey
public SshPublicKey decodePublicKey(byte[] encoded) throws InvalidSshKeyException
- Specified by:
decodePublicKeyin classSshKeyPair- Parameters:
encoded-- Returns:
- Throws:
InvalidSshKeyException
-
generate
public void generate(int bits)
- Specified by:
generatein classSshKeyPair- Parameters:
bits-
-
-