maspack.fileutil.jsch
Class KeyPairDSA
java.lang.Object
maspack.fileutil.jsch.KeyPair
maspack.fileutil.jsch.KeyPairDSA
public class KeyPairDSA
- extends KeyPair
Constructor Summary |
KeyPairDSA()
|
KeyPairDSA(byte[] P_array,
byte[] Q_array,
byte[] G_array,
byte[] pub_array,
byte[] prv_array)
|
Methods inherited from class maspack.fileutil.jsch.KeyPair |
decrypt, decrypt, finalize, genKeyPair, genKeyPair, getFingerPrint, getPublicKeyComment, isEncrypted, load, load, load, load, loadPPK, setPassphrase, setPassphrase, setPublicKeyComment, writePrivateKey, writePrivateKey, writePublicKey, writePublicKey, writeSECSHPublicKey, writeSECSHPublicKey |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KeyPairDSA
public KeyPairDSA()
KeyPairDSA
public KeyPairDSA(byte[] P_array,
byte[] Q_array,
byte[] G_array,
byte[] pub_array,
byte[] prv_array)
getPublicKeyBlob
public byte[] getPublicKeyBlob()
- Overrides:
getPublicKeyBlob
in class KeyPair
getKeyTypeName
public byte[] getKeyTypeName()
- Specified by:
getKeyTypeName
in class KeyPair
getKeyType
public int getKeyType()
- Specified by:
getKeyType
in class KeyPair
getKeySize
public int getKeySize()
getSignature
public byte[] getSignature(byte[] data)
- Specified by:
getSignature
in class KeyPair
getVerifier
public com.jcraft.jsch.Signature getVerifier()
- Specified by:
getVerifier
in class KeyPair
forSSHAgent
public byte[] forSSHAgent()
throws com.jcraft.jsch.JSchException
- Specified by:
forSSHAgent
in class KeyPair
- Throws:
com.jcraft.jsch.JSchException
dispose
public void dispose()
- Overrides:
dispose
in class KeyPair