com.maverick.ssh.components.standalone
Class Ssh2DsaPrivateKey
java.lang.Object
com.maverick.crypto.publickey.DsaKey
com.maverick.crypto.publickey.DsaPrivateKey
com.maverick.ssh.components.standalone.Ssh2DsaPrivateKey
- All Implemented Interfaces:
- SshDsaPrivateKey, SshPrivateKey
- public class Ssh2DsaPrivateKey
- extends com.maverick.crypto.publickey.DsaPrivateKey
- implements SshDsaPrivateKey
Represents a DSA key and implements the SshPrivateKey interface.
- Author:
- Lee David Painter
| Fields inherited from class com.maverick.crypto.publickey.DsaPrivateKey |
x |
| Fields inherited from class com.maverick.crypto.publickey.DsaKey |
g, p, q |
|
Constructor Summary |
Ssh2DsaPrivateKey(java.math.BigInteger p,
java.math.BigInteger q,
java.math.BigInteger g,
java.math.BigInteger x)
|
Ssh2DsaPrivateKey(com.maverick.crypto.publickey.DsaPrivateKey key)
|
| 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 |
Ssh2DsaPrivateKey
public Ssh2DsaPrivateKey(com.maverick.crypto.publickey.DsaPrivateKey key)
Ssh2DsaPrivateKey
public Ssh2DsaPrivateKey(java.math.BigInteger p,
java.math.BigInteger q,
java.math.BigInteger g,
java.math.BigInteger x)
getPublicKey
public SshDsaPublicKey getPublicKey()
- Specified by:
getPublicKey in interface SshDsaPrivateKey
getAlgorithm
public java.lang.String getAlgorithm()
- Specified by:
getAlgorithm in interface SshPrivateKey
Copyright © 2003-2008 SSHTools LTD. All Rights Reserved.