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.Identity
com.jcraft.jsch.JSchException
public byte[] getPublicKeyBlob()
getPublicKeyBlob
in interface com.jcraft.jsch.Identity
public byte[] getSignature(byte[] data)
getSignature
in interface com.jcraft.jsch.Identity
public boolean decrypt()
decrypt
in interface com.jcraft.jsch.Identity
public String getAlgName()
getAlgName
in interface com.jcraft.jsch.Identity
public String getName()
getName
in interface com.jcraft.jsch.Identity
public boolean isEncrypted()
isEncrypted
in interface com.jcraft.jsch.Identity
public void clear()
clear
in interface com.jcraft.jsch.Identity
Apache Camel