public class KeyPairDSA extends KeyPair
| Constructor and Description | 
|---|
KeyPairDSA(JSch jsch)  | 
KeyPairDSA(JSch jsch,
          byte[] P_array,
          byte[] Q_array,
          byte[] G_array,
          byte[] pub_array,
          byte[] prv_array)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
dispose()
Disposes this key pair. 
 | 
byte[] | 
forSSHAgent()  | 
int | 
getKeySize()  | 
int | 
getKeyType()
returns the type of the keys in this keypair,
 which is one of  
KeyPair.RSA and KeyPair.DSA. | 
byte[] | 
getPublicKeyBlob()
Returns the blob of the public key. 
 | 
byte[] | 
getSignature(byte[] data)  | 
Signature | 
getVerifier()  | 
decrypt, decrypt, finalize, genKeyPair, genKeyPair, getFingerPrint, getPublicKeyComment, isEncrypted, load, load, load, setPassphrase, setPassphrase, setPublicKeyComment, writePrivateKey, writePrivateKey, writePrivateKey, writePrivateKey, writePublicKey, writePublicKey, writeSECSHPublicKey, writeSECSHPublicKeypublic KeyPairDSA(JSch jsch)
public KeyPairDSA(JSch jsch, byte[] P_array, byte[] Q_array, byte[] G_array, byte[] pub_array, byte[] prv_array)
public byte[] getPublicKeyBlob()
KeyPairgetPublicKeyBlob in class KeyPairpublic int getKeyType()
KeyPairKeyPair.RSA and KeyPair.DSA.getKeyType in class KeyPairpublic int getKeySize()
public byte[] getSignature(byte[] data)
getSignature in class KeyPairpublic Signature getVerifier()
getVerifier in class KeyPairpublic byte[] forSSHAgent()
                   throws JSchException
forSSHAgent in class KeyPairJSchExceptionThis is an inofficial Javadoc created by PaĆlo Ebermann. Have a look at the official homepage.