Interface CryptoComponentBuilderFactory.CryptoComponentBuilder

    • Method Detail

      • alias

        default CryptoComponentBuilderFactory.CryptoComponentBuilder alias​(String alias)
        Sets the alias used to query the KeyStore for keys and {link java.security.cert.Certificate Certificates} to be used in signing and verifying exchanges. This value can be provided at runtime via the message header org.apache.camel.component.crypto.DigitalSignatureConstants#KEYSTORE_ALIAS. The option is a: java.lang.String type. Group: producer
      • keystore

        default CryptoComponentBuilderFactory.CryptoComponentBuilder keystore​(KeyStore keystore)
        Sets the KeyStore that can contain keys and Certficates for use in signing and verifying exchanges. 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: java.security.KeyStore type. Group: producer
      • lazyStartProducer

        default CryptoComponentBuilderFactory.CryptoComponentBuilder 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: boolean type. Default: false Group: producer
      • signatureHeaderName

        default CryptoComponentBuilderFactory.CryptoComponentBuilder signatureHeaderName​(String signatureHeaderName)
        Set the name of the message header that should be used to store the base64 encoded signature. This defaults to 'CamelDigitalSignature'. The option is a: java.lang.String type. Group: producer
      • basicPropertyBinding

        default CryptoComponentBuilderFactory.CryptoComponentBuilder basicPropertyBinding​(boolean basicPropertyBinding)
        Whether the component should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities. The option is a: boolean type. Default: false Group: advanced
      • clearHeaders

        default CryptoComponentBuilderFactory.CryptoComponentBuilder 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: boolean type. Default: true Group: advanced
      • configuration

        default CryptoComponentBuilderFactory.CryptoComponentBuilder configuration​(org.apache.camel.component.crypto.DigitalSignatureConfiguration configuration)
        To use the shared DigitalSignatureConfiguration as configuration. The option is a: org.apache.camel.component.crypto.DigitalSignatureConfiguration type. Group: advanced
      • keyStoreParameters

        default CryptoComponentBuilderFactory.CryptoComponentBuilder 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: org.apache.camel.support.jsse.KeyStoreParameters type. Group: advanced