public class SshDsaPrivateKey extends SshPrivateKey implements DSAPrivateKey
DSAPrivateKey implementation for SSH DSA KeysSshPrivateKey.SshPrivateKeyException| Modifier and Type | Field and Description |
|---|---|
static String |
BEGIN_DSA_PRIVATE_KEY |
static String |
END_DSA_PRIVATE_KEY |
| Constructor and Description |
|---|
SshDsaPrivateKey(String keyString) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAlgorithm() |
protected String |
getKeyPrefix() |
protected String |
getKeySuffix() |
DSAParams |
getParams() |
BigInteger |
getVersion() |
BigInteger |
getX() |
BigInteger |
getY() |
getEncoded, getFormatclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEncoded, getFormatpublic static final String BEGIN_DSA_PRIVATE_KEY
public static final String END_DSA_PRIVATE_KEY
public SshDsaPrivateKey(String keyString) throws SshPrivateKey.SshPrivateKeyException
public String getAlgorithm()
getAlgorithm in interface KeygetAlgorithm in class SshPrivateKeypublic BigInteger getX()
getX in interface DSAPrivateKeypublic BigInteger getY()
public BigInteger getVersion()
protected String getKeyPrefix()
getKeyPrefix in class SshPrivateKeyprotected String getKeySuffix()
getKeySuffix in class SshPrivateKeyCopyright © 2014 hobbiton bvba. All Rights Reserved.