Interface DigitalSignatureEndpointBuilderFactory.AdvancedDigitalSignatureEndpointBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder,org.apache.camel.EndpointProducerResolver
- Enclosing interface:
DigitalSignatureEndpointBuilderFactory
public static interface DigitalSignatureEndpointBuilderFactory.AdvancedDigitalSignatureEndpointBuilder
extends org.apache.camel.builder.EndpointProducerBuilder
Advanced builder for endpoint for the Crypto (JCE) component.
-
Method Summary
Modifier and TypeMethodDescriptionbasic()bufferSize(Integer bufferSize) Set the size of the buffer used to read in the Exchange payload data.bufferSize(String bufferSize) Set the size of the buffer used to read in the Exchange payload data.certificate(String certificate) Set the Certificate that should be used to verify the signature in the exchange based on its payload.certificate(Certificate certificate) Set the Certificate that should be used to verify the signature in the exchange based on its payload.clearHeaders(boolean clearHeaders) Determines if the Signature specific headers be cleared after signing and verification.clearHeaders(String clearHeaders) Determines if the Signature specific headers be cleared after signing and verification.keyStoreParameters(String keyStoreParameters) Sets the KeyStore that can contain keys and Certficates for use in signing and verifying exchanges based on the given KeyStoreParameters.keyStoreParameters(org.apache.camel.support.jsse.KeyStoreParameters keyStoreParameters) Sets the KeyStore that can contain keys and Certficates for use in signing and verifying exchanges based on the given KeyStoreParameters.lazyStartProducer(boolean lazyStartProducer) Whether the producer should be started lazy (on the first message).lazyStartProducer(String lazyStartProducer) Whether the producer should be started lazy (on the first message).Set the PublicKey that should be used to verify the signature in the exchange.Set the PublicKey that should be used to verify the signature in the exchange.secureRandom(String secureRandom) Set the SecureRandom used to initialize the Signature service.secureRandom(SecureRandom secureRandom) Set the SecureRandom used to initialize the Signature service.Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUriMethods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolve
-
Method Details
-
basic
-
lazyStartProducer
default DigitalSignatureEndpointBuilderFactory.AdvancedDigitalSignatureEndpointBuilder lazyStartProducer(boolean lazyStartProducer) Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option is a: <code>boolean</code> type. Default: false Group: producer (advanced)- Parameters:
lazyStartProducer- the value to set- Returns:
- the dsl builder
-
lazyStartProducer
default DigitalSignatureEndpointBuilderFactory.AdvancedDigitalSignatureEndpointBuilder lazyStartProducer(String lazyStartProducer) Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option will be converted to a <code>boolean</code> type. Default: false Group: producer (advanced)- Parameters:
lazyStartProducer- the value to set- Returns:
- the dsl builder
-
bufferSize
default DigitalSignatureEndpointBuilderFactory.AdvancedDigitalSignatureEndpointBuilder bufferSize(Integer bufferSize) Set the size of the buffer used to read in the Exchange payload data. The option is a: <code>java.lang.Integer</code> type. Default: 2048 Group: advanced- Parameters:
bufferSize- the value to set- Returns:
- the dsl builder
-
bufferSize
default DigitalSignatureEndpointBuilderFactory.AdvancedDigitalSignatureEndpointBuilder bufferSize(String bufferSize) Set the size of the buffer used to read in the Exchange payload data. The option will be converted to a <code>java.lang.Integer</code> type. Default: 2048 Group: advanced- Parameters:
bufferSize- the value to set- Returns:
- the dsl builder
-
certificate
default DigitalSignatureEndpointBuilderFactory.AdvancedDigitalSignatureEndpointBuilder certificate(Certificate certificate) Set the Certificate that should be used to verify the signature in the exchange based on its payload. The option is a: <code>java.security.cert.Certificate</code> type. Group: advanced- Parameters:
certificate- the value to set- Returns:
- the dsl builder
-
certificate
default DigitalSignatureEndpointBuilderFactory.AdvancedDigitalSignatureEndpointBuilder certificate(String certificate) Set the Certificate that should be used to verify the signature in the exchange based on its payload. The option will be converted to a <code>java.security.cert.Certificate</code> type. Group: advanced- Parameters:
certificate- the value to set- Returns:
- the dsl builder
-
clearHeaders
default DigitalSignatureEndpointBuilderFactory.AdvancedDigitalSignatureEndpointBuilder clearHeaders(boolean clearHeaders) Determines if the Signature specific headers be cleared after signing and verification. Defaults to true, and should only be made otherwise at your extreme peril as vital private information such as Keys and passwords may escape if unset. The option is a: <code>boolean</code> type. Default: true Group: advanced- Parameters:
clearHeaders- the value to set- Returns:
- the dsl builder
-
clearHeaders
default DigitalSignatureEndpointBuilderFactory.AdvancedDigitalSignatureEndpointBuilder clearHeaders(String clearHeaders) Determines if the Signature specific headers be cleared after signing and verification. Defaults to true, and should only be made otherwise at your extreme peril as vital private information such as Keys and passwords may escape if unset. The option will be converted to a <code>boolean</code> type. Default: true Group: advanced- Parameters:
clearHeaders- the value to set- Returns:
- the dsl builder
-
keyStoreParameters
default DigitalSignatureEndpointBuilderFactory.AdvancedDigitalSignatureEndpointBuilder keyStoreParameters(org.apache.camel.support.jsse.KeyStoreParameters keyStoreParameters) Sets the KeyStore that can contain keys and Certficates for use in signing and verifying exchanges based on the given KeyStoreParameters. A KeyStore is typically used with an alias, either one supplied in the Route definition or dynamically via the message header CamelSignatureKeyStoreAlias. If no alias is supplied and there is only a single entry in the Keystore, then this single entry will be used. The option is a: <code>org.apache.camel.support.jsse.KeyStoreParameters</code> type. Group: advanced- Parameters:
keyStoreParameters- the value to set- Returns:
- the dsl builder
-
keyStoreParameters
default DigitalSignatureEndpointBuilderFactory.AdvancedDigitalSignatureEndpointBuilder keyStoreParameters(String keyStoreParameters) Sets the KeyStore that can contain keys and Certficates for use in signing and verifying exchanges based on the given KeyStoreParameters. A KeyStore is typically used with an alias, either one supplied in the Route definition or dynamically via the message header CamelSignatureKeyStoreAlias. If no alias is supplied and there is only a single entry in the Keystore, then this single entry will be used. The option will be converted to a <code>org.apache.camel.support.jsse.KeyStoreParameters</code> type. Group: advanced- Parameters:
keyStoreParameters- the value to set- Returns:
- the dsl builder
-
publicKey
default DigitalSignatureEndpointBuilderFactory.AdvancedDigitalSignatureEndpointBuilder publicKey(PublicKey publicKey) Set the PublicKey that should be used to verify the signature in the exchange. The option is a: <code>java.security.PublicKey</code> type. Group: advanced- Parameters:
publicKey- the value to set- Returns:
- the dsl builder
-
publicKey
default DigitalSignatureEndpointBuilderFactory.AdvancedDigitalSignatureEndpointBuilder publicKey(String publicKey) Set the PublicKey that should be used to verify the signature in the exchange. The option will be converted to a <code>java.security.PublicKey</code> type. Group: advanced- Parameters:
publicKey- the value to set- Returns:
- the dsl builder
-
secureRandom
default DigitalSignatureEndpointBuilderFactory.AdvancedDigitalSignatureEndpointBuilder secureRandom(SecureRandom secureRandom) Set the SecureRandom used to initialize the Signature service. The option is a: <code>java.security.SecureRandom</code> type. Group: advanced- Parameters:
secureRandom- the value to set- Returns:
- the dsl builder
-
secureRandom
default DigitalSignatureEndpointBuilderFactory.AdvancedDigitalSignatureEndpointBuilder secureRandom(String secureRandom) Set the SecureRandom used to initialize the Signature service. The option will be converted to a <code>java.security.SecureRandom</code> type. Group: advanced- Parameters:
secureRandom- the value to set- Returns:
- the dsl builder
-