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 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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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

      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