Class DigitalSignatureProcessor
java.lang.Object
org.apache.camel.component.crypto.processor.DigitalSignatureProcessor
- All Implemented Interfaces:
org.apache.camel.Processor
- Direct Known Subclasses:
SigningProcessor,VerifyingProcessor
public abstract class DigitalSignatureProcessor
extends Object
implements org.apache.camel.Processor
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDigitalSignatureProcessor(DigitalSignatureConfiguration configuration) -
Method Summary
Modifier and TypeMethodDescriptionvoidcalculateSignature(org.apache.camel.Exchange exchange, Signature signer) protected voidclearMessageHeaders(org.apache.camel.Message in) protected Signatureprotected StringgetAlias(org.apache.camel.Exchange exchange) voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.camel.Processor
process
-
Field Details
-
config
-
-
Constructor Details
-
DigitalSignatureProcessor
-
-
Method Details
-
calculateSignature
public void calculateSignature(org.apache.camel.Exchange exchange, Signature signer) throws Exception - Throws:
Exception
-
getAlias
- Throws:
Exception
-
setConfig
-
createSignatureService
protected Signature createSignatureService() throws NoSuchAlgorithmException, NoSuchProviderException -
clearMessageHeaders
protected void clearMessageHeaders(org.apache.camel.Message in)
-