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 |
| Methods inherited from class com.maverick.crypto.publickey.DsaPrivateKey |
equals, getX, sign |
| Methods inherited from class com.maverick.crypto.publickey.DsaKey |
getG, getP, getQ |
Ssh2DsaPrivateKey
public Ssh2DsaPrivateKey(com.maverick.crypto.publickey.DsaPrivateKey key)
Ssh2DsaPrivateKey
public Ssh2DsaPrivateKey(BigInteger p,
BigInteger q,
BigInteger g,
BigInteger x)
getPublicKey
public SshDsaPublicKey getPublicKey()
- Specified by:
getPublicKey in interface SshDsaPrivateKey
getAlgorithm
public String getAlgorithm()
- Specified by:
getAlgorithm in interface SshPrivateKey
Copyright © 2012. All Rights Reserved.