public class KeyPairDSA extends KeyPair
| 构造器和说明 |
|---|
KeyPairDSA(JSch jsch) |
KeyPairDSA(JSch jsch,
byte[] P_array,
byte[] Q_array,
byte[] G_array,
byte[] pub_array,
byte[] prv_array) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
dispose() |
byte[] |
forSSHAgent() |
int |
getKeySize() |
int |
getKeyType() |
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 在类中 KeyPairpublic int getKeyType()
getKeyType 在类中 KeyPairpublic int getKeySize()
public byte[] getSignature(byte[] data)
getSignature 在类中 KeyPairpublic Signature getVerifier()
getVerifier 在类中 KeyPairpublic byte[] forSSHAgent()
throws JSchException
forSSHAgent 在类中 KeyPairJSchException