org.apache.camel.component.crypto
Class DigitalSignatureEndpoint
java.lang.Object
org.apache.camel.impl.ServiceSupport
org.apache.camel.impl.DefaultEndpoint
org.apache.camel.component.crypto.DigitalSignatureEndpoint
- All Implemented Interfaces:
- org.apache.camel.CamelContextAware, org.apache.camel.Endpoint, org.apache.camel.IsSingleton, org.apache.camel.Service, org.apache.camel.ShutdownableService, org.apache.camel.spi.HasId
public class DigitalSignatureEndpoint
- extends org.apache.camel.impl.DefaultEndpoint
DigitalSignatureEndpoint
Methods inherited from class org.apache.camel.impl.DefaultEndpoint |
configureProperties, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, doStart, doStop, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExchangePattern, getExchangeType, getId, hashCode, isLenientProperties, isSynchronous, setCamelContext, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setSynchronous, toString |
Methods inherited from class org.apache.camel.impl.ServiceSupport |
addChildService, doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspended, isSuspending, removeChildService, resume, shutdown, start, start, stop, suspend |
Methods inherited from interface org.apache.camel.Service |
start, stop |
DigitalSignatureEndpoint
public DigitalSignatureEndpoint(String uri,
DigitalSignatureComponent component,
DigitalSignatureConfiguration configuration)
createProducer
public org.apache.camel.Producer createProducer()
throws Exception
- Throws:
Exception
createConsumer
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
throws Exception
- Throws:
Exception
isSingleton
public boolean isSingleton()
getManagedObject
public Object getManagedObject(DigitalSignatureEndpoint endpoint)
setConfiguration
public void setConfiguration(DigitalSignatureConfiguration configuration)
getConfiguration
public DigitalSignatureConfiguration getConfiguration()
getPublicKey
public PublicKey getPublicKey()
throws Exception
- Throws:
Exception
setPublicKey
public void setPublicKey(PublicKey publicKey)
setPublicKey
public void setPublicKey(String publicKeyName)
getCertificate
public Certificate getCertificate()
throws Exception
- Throws:
Exception
getPrivateKey
public PrivateKey getPrivateKey()
throws Exception
- Throws:
Exception
setPrivateKey
public void setPrivateKey(PrivateKey privateKey)
getKeystore
public KeyStore getKeystore()
setKeystore
public void setKeystore(KeyStore keystore)
getPassword
public char[] getPassword()
setKeyPassword
public void setKeyPassword(char[] keyPassword)
getSecureRandom
public SecureRandom getSecureRandom()
setSecureRandom
public void setSecureRandom(SecureRandom secureRandom)
getAlgorithm
public String getAlgorithm()
setAlgorithm
public void setAlgorithm(String algorithm)
getBuffersize
public Integer getBuffersize()
setBuffersize
public void setBuffersize(Integer buffersize)
getProvider
public String getProvider()
setProvider
public void setProvider(String provider)
getSignatureHeader
public String getSignatureHeader()
setSignatureHeader
public void setSignatureHeader(String signatureHeaderName)
getAlias
public String getAlias()
setAlias
public void setAlias(String alias)
getClearHeaders
public boolean getClearHeaders()
setClearHeaders
public void setClearHeaders(boolean clearHeaders)
Apache CAMEL