public class Ssh2DsaPrivateKey extends Ssh2BaseDsaPrivateKey implements SshDsaPrivateKey
Modifier and Type | Field and Description |
---|---|
protected DSAPrivateKey |
prv |
protected Ssh2DsaPublicKey |
pub |
customProvider
Constructor and Description |
---|
Ssh2DsaPrivateKey(BigInteger p,
BigInteger q,
BigInteger g,
BigInteger x,
BigInteger y) |
Ssh2DsaPrivateKey(DSAPrivateKey prv) |
Ssh2DsaPrivateKey(DSAPrivateKey prv,
DSAPublicKey pub) |
Modifier and Type | Method and Description |
---|---|
DSAPrivateKey |
getJCEPrivateKey() |
SshDsaPublicKey |
getPublicKey() |
BigInteger |
getX() |
equals, getAlgorithm, hashCode, sign, sign
getJCESignature
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
sign
getAlgorithm, sign
protected DSAPrivateKey prv
protected Ssh2DsaPublicKey pub
public Ssh2DsaPrivateKey(DSAPrivateKey prv, DSAPublicKey pub)
public Ssh2DsaPrivateKey(DSAPrivateKey prv) throws NoSuchAlgorithmException, InvalidKeySpecException
public Ssh2DsaPrivateKey(BigInteger p, BigInteger q, BigInteger g, BigInteger x, BigInteger y) throws SshException
SshException
public DSAPrivateKey getJCEPrivateKey()
getJCEPrivateKey
in interface SshDsaPrivateKey
getJCEPrivateKey
in interface SshPrivateKey
getJCEPrivateKey
in class Ssh2BaseJCEPrivateKey
public SshDsaPublicKey getPublicKey()
getPublicKey
in interface SshDsaPrivateKey
getPublicKey
in class Ssh2BaseDsaPrivateKey
public BigInteger getX()
getX
in interface SshDsaPrivateKey
Copyright © 2024. All rights reserved.