public class Ssh2DsaPrivateKey extends Ssh2BaseDsaPrivateKey implements SshDsaPrivateKey
| Modifier and Type | Field and Description |
|---|---|
protected java.security.interfaces.DSAPrivateKey |
prv |
protected Ssh2DsaPublicKey |
pub |
customProvider| Constructor and Description |
|---|
Ssh2DsaPrivateKey(java.math.BigInteger p,
java.math.BigInteger q,
java.math.BigInteger g,
java.math.BigInteger x,
java.math.BigInteger y) |
Ssh2DsaPrivateKey(java.security.interfaces.DSAPrivateKey prv) |
Ssh2DsaPrivateKey(java.security.interfaces.DSAPrivateKey prv,
java.security.interfaces.DSAPublicKey pub) |
| Modifier and Type | Method and Description |
|---|---|
java.security.interfaces.DSAPrivateKey |
getJCEPrivateKey() |
SshDsaPublicKey |
getPublicKey() |
java.math.BigInteger |
getX() |
equals, getAlgorithm, hashCode, sign, signgetJCESignatureclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitsigngetAlgorithm, signprotected java.security.interfaces.DSAPrivateKey prv
protected Ssh2DsaPublicKey pub
public Ssh2DsaPrivateKey(java.security.interfaces.DSAPrivateKey prv,
java.security.interfaces.DSAPublicKey pub)
public Ssh2DsaPrivateKey(java.security.interfaces.DSAPrivateKey prv)
throws java.security.NoSuchAlgorithmException,
java.security.spec.InvalidKeySpecException
java.security.NoSuchAlgorithmExceptionjava.security.spec.InvalidKeySpecExceptionpublic Ssh2DsaPrivateKey(java.math.BigInteger p,
java.math.BigInteger q,
java.math.BigInteger g,
java.math.BigInteger x,
java.math.BigInteger y)
throws SshException
SshExceptionpublic java.security.interfaces.DSAPrivateKey getJCEPrivateKey()
getJCEPrivateKey in interface SshDsaPrivateKeygetJCEPrivateKey in interface SshPrivateKeygetJCEPrivateKey in class Ssh2BaseJCEPrivateKeypublic SshDsaPublicKey getPublicKey()
getPublicKey in interface SshDsaPrivateKeygetPublicKey in class Ssh2BaseDsaPrivateKeypublic java.math.BigInteger getX()
getX in interface SshDsaPrivateKeyCopyright © 2022. All rights reserved.