org.apache.camel.component.file.remote
Class DSAKeyPairIdentity

java.lang.Object
  extended by org.apache.camel.component.file.remote.DSAKeyPairIdentity
All Implemented Interfaces:
com.jcraft.jsch.Identity

public class DSAKeyPairIdentity
extends Object
implements com.jcraft.jsch.Identity


Constructor Summary
DSAKeyPairIdentity(String name, KeyPair keyPair)
           
 
Method Summary
 void clear()
           
 boolean decrypt()
           
 String getAlgName()
           
 String getName()
           
 byte[] getPublicKeyBlob()
           
 byte[] getSignature(byte[] data)
           
 boolean isEncrypted()
           
 boolean setPassphrase(byte[] passphrase)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DSAKeyPairIdentity

public DSAKeyPairIdentity(String name,
                          KeyPair keyPair)
Method Detail

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