org.apache.camel.component.crypto.processor
Class DigitalSignatureProcessor

java.lang.Object
  extended by org.apache.camel.component.crypto.processor.DigitalSignatureProcessor
All Implemented Interfaces:
Processor
Direct Known Subclasses:
SigningProcessor, VerifyingProcessor

public abstract class DigitalSignatureProcessor
extends Object
implements Processor


Field Summary
protected  DigitalSignatureConfiguration config
           
 
Constructor Summary
DigitalSignatureProcessor(DigitalSignatureConfiguration configuration)
           
 
Method Summary
 void calculateSignature(Exchange exchange, Signature signer)
           
protected  void clearMessageHeaders(Message in)
           
protected  Signature createSignatureService()
           
protected  String getAlias(Exchange exchange)
           
 void setConfig(DigitalSignatureConfiguration config)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.camel.Processor
process
 

Field Detail

config

protected DigitalSignatureConfiguration config
Constructor Detail

DigitalSignatureProcessor

public DigitalSignatureProcessor(DigitalSignatureConfiguration configuration)
Method Detail

calculateSignature

public void calculateSignature(Exchange exchange,
                               Signature signer)
                        throws Exception
Throws:
Exception

getAlias

protected String getAlias(Exchange exchange)
                   throws Exception
Throws:
Exception

setConfig

public void setConfig(DigitalSignatureConfiguration config)

createSignatureService

protected Signature createSignatureService()
                                    throws NoSuchAlgorithmException,
                                           NoSuchProviderException
Throws:
NoSuchAlgorithmException
NoSuchProviderException

clearMessageHeaders

protected void clearMessageHeaders(Message in)


Apache CAMEL