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

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

public class SshDssKeyPair
extends SshKeyPair

Version:
$Revision: 1.17 $
Author:
$author$

Constructor Summary
SshDssKeyPair()
           
 
Method Summary
 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
 
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
Specified by:
decodePrivateKey in class SshKeyPair
Parameters:
encoded -
Returns:
Throws:
InvalidSshKeyException

decodePublicKey

public SshPublicKey decodePublicKey(byte[] encoded)
                             throws InvalidSshKeyException
Specified by:
decodePublicKey in class SshKeyPair
Parameters:
encoded -
Returns:
Throws:
InvalidSshKeyException

generate

public void generate(int bits)
Specified by:
generate in class SshKeyPair
Parameters:
bits -


Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.