com.sshtools.j2ssh.transport.publickey.dsa
Class SshDssKeyPair

java.lang.Object
  extended bycom.sshtools.j2ssh.transport.publickey.SshKeyPair
      extended bycom.sshtools.j2ssh.transport.publickey.dsa.SshDssKeyPair

public class SshDssKeyPair
extends SshKeyPair

DOCUMENT ME!


Constructor Summary
SshDssKeyPair()
           
 
Method Summary
 SshPrivateKey decodePrivateKey(byte[] encoded)
          DOCUMENT ME!
 SshPublicKey decodePublicKey(byte[] encoded)
          DOCUMENT ME!
 void generate(int bits)
          DOCUMENT ME!
 
Methods inherited from class com.sshtools.j2ssh.transport.publickey.SshKeyPair
getPrivateKey, getPublicKey, setPrivateKey, setPrivateKey, setPublicKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SshDssKeyPair

public SshDssKeyPair()
Method Detail

decodePrivateKey

public SshPrivateKey decodePrivateKey(byte[] encoded)
                               throws InvalidSshKeyException
DOCUMENT ME!

Specified by:
decodePrivateKey in class SshKeyPair
Parameters:
encoded - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
InvalidSshKeyException - DOCUMENT ME!

decodePublicKey

public SshPublicKey decodePublicKey(byte[] encoded)
                             throws InvalidSshKeyException
DOCUMENT ME!

Specified by:
decodePublicKey in class SshKeyPair
Parameters:
encoded - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
InvalidSshKeyException - DOCUMENT ME!

generate

public void generate(int bits)
DOCUMENT ME!

Specified by:
generate in class SshKeyPair
Parameters:
bits - DOCUMENT ME!