com.maverick.ssh
Class SshDsaPrivateKey

java.lang.Object
  extended bycom.maverick.crypto.publickey.DsaKey
      extended bycom.maverick.crypto.publickey.DsaPrivateKey
          extended bycom.maverick.ssh.SshDsaPrivateKey
All Implemented Interfaces:
SshPrivateKey

public class SshDsaPrivateKey
extends com.maverick.crypto.publickey.DsaPrivateKey
implements SshPrivateKey

Represents a DSA key and implements the SshPrivateKey interface.

Author:
Lee David Painter

Field Summary
 
Fields inherited from class com.maverick.crypto.publickey.DsaPrivateKey
x
 
Fields inherited from class com.maverick.crypto.publickey.DsaKey
g, p, q
 
Constructor Summary
SshDsaPrivateKey(java.math.BigInteger p, java.math.BigInteger q, java.math.BigInteger g, java.math.BigInteger x)
           
SshDsaPrivateKey(com.maverick.crypto.publickey.DsaPrivateKey key)
           
 
Method Summary
 java.lang.String getAlgorithm()
           
 
Methods inherited from class com.maverick.crypto.publickey.DsaPrivateKey
equals, getX, sign
 
Methods inherited from class com.maverick.crypto.publickey.DsaKey
getG, getP, getQ
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.maverick.ssh.SshPrivateKey
sign
 

Constructor Detail

SshDsaPrivateKey

public SshDsaPrivateKey(com.maverick.crypto.publickey.DsaPrivateKey key)

SshDsaPrivateKey

public SshDsaPrivateKey(java.math.BigInteger p,
                        java.math.BigInteger q,
                        java.math.BigInteger g,
                        java.math.BigInteger x)
Method Detail

getAlgorithm

public java.lang.String getAlgorithm()
Specified by:
getAlgorithm in interface SshPrivateKey


Copyright © 2003 3SP LTD. All Rights Reserved.