public class RSAKeyPairIdentity extends Object implements com.jcraft.jsch.Identity
| Constructor and Description |
|---|
RSAKeyPairIdentity(String name,
KeyPair keyPair) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
decrypt() |
String |
getAlgName() |
String |
getName() |
byte[] |
getPublicKeyBlob() |
byte[] |
getSignature(byte[] data) |
boolean |
isEncrypted() |
boolean |
setPassphrase(byte[] passphrase) |
public boolean setPassphrase(byte[] passphrase)
throws com.jcraft.jsch.JSchException
setPassphrase in interface com.jcraft.jsch.Identitycom.jcraft.jsch.JSchExceptionpublic byte[] getPublicKeyBlob()
getPublicKeyBlob in interface com.jcraft.jsch.Identitypublic byte[] getSignature(byte[] data)
getSignature in interface com.jcraft.jsch.Identitypublic boolean decrypt()
decrypt in interface com.jcraft.jsch.Identitypublic String getAlgName()
getAlgName in interface com.jcraft.jsch.Identitypublic String getName()
getName in interface com.jcraft.jsch.Identitypublic boolean isEncrypted()
isEncrypted in interface com.jcraft.jsch.Identitypublic void clear()
clear in interface com.jcraft.jsch.IdentityApache Camel