org.apache.camel.component.file.remote
Class RSAKeyPairIdentity
java.lang.Object
org.apache.camel.component.file.remote.RSAKeyPairIdentity
- All Implemented Interfaces:
- com.jcraft.jsch.Identity
public class RSAKeyPairIdentity
- extends Object
- implements com.jcraft.jsch.Identity
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RSAKeyPairIdentity
public RSAKeyPairIdentity(String name,
KeyPair keyPair)
setPassphrase
public boolean setPassphrase(byte[] passphrase)
throws com.jcraft.jsch.JSchException
- Specified by:
setPassphrase
in interface com.jcraft.jsch.Identity
- Throws:
com.jcraft.jsch.JSchException
getPublicKeyBlob
public byte[] getPublicKeyBlob()
- Specified by:
getPublicKeyBlob
in interface com.jcraft.jsch.Identity
getSignature
public byte[] getSignature(byte[] data)
- Specified by:
getSignature
in interface com.jcraft.jsch.Identity
decrypt
public boolean decrypt()
- Specified by:
decrypt
in interface com.jcraft.jsch.Identity
getAlgName
public String getAlgName()
- Specified by:
getAlgName
in interface com.jcraft.jsch.Identity
getName
public String getName()
- Specified by:
getName
in interface com.jcraft.jsch.Identity
isEncrypted
public boolean isEncrypted()
- Specified by:
isEncrypted
in interface com.jcraft.jsch.Identity
clear
public void clear()
- Specified by:
clear
in interface com.jcraft.jsch.Identity
Apache Camel