Crypto (Java Cryptographic Extension)

Crypto (Java Cryptographic Extension)

Description: Camel Cryptographic Support
Scheme: crypto
Syntax: crypto:cryptoOperation
Maven: org.apache.camel/camel-crypto/2.16.1
Name Kind Group Required Default Type Enum Description
cryptoOperation path producer true org.apache.camel.component.crypto.CryptoOperation sign
verify
Set the Crypto operation from that supplied after the crypto scheme in the endpoint uri e.g. crypto:sign sets sign as the operation. @param operation the operation supplied after the crypto scheme
algorithm parameter producer SHA1WithDSA java.lang.String Sets the JCE name of the Algorithm that should be used for the signer.
alias parameter producer java.lang.String 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 {@link org.apache.camel.component.crypto.DigitalSignatureConstants#KEYSTORE_ALIAS}
bufferSize parameter producer 2048 java.lang.Integer Set the size of the buffer used to read in the Exchange payload data.
certificate parameter producer java.security.cert.Certificate Set the Certificate that should be used to verify the signature in the exchange based on its payload.
certificateName parameter producer java.lang.String Sets the reference name for a PrivateKey that can be fond in the registry.
clearHeaders parameter producer true boolean 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.
keystore parameter producer java.security.KeyStore Sets the KeyStore that can contain keys and Certficates for use in signing and verifying exchanges. A {@link 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.
keystoreName parameter producer java.lang.String Sets the reference name for a Keystore that can be fond in the registry.
password parameter producer char[] Sets the password used to access an aliased {@link PrivateKey} in the KeyStore.
privateKey parameter producer java.security.PrivateKey Set the PrivateKey that should be used to sign the exchange @param privateKey the key with with to sign the exchange.
privateKeyName parameter producer java.lang.String Sets the reference name for a PrivateKey that can be fond in the registry.
provider parameter producer java.lang.String Set the id of the security provider that provides the configured {@link Signature} algorithm. @param provider the id of the security provider
publicKey parameter producer java.security.PublicKey Set the PublicKey that should be used to verify the signature in the exchange.
publicKeyName parameter producer java.lang.String references that should be resolved when the context changes
secureRandom parameter producer java.security.SecureRandom Set the SecureRandom used to initialize the Signature service @param secureRandom the random used to init the Signature service
secureRandomName parameter producer java.lang.String Sets the reference name for a SecureRandom that can be fond in the registry.
signatureHeaderName parameter producer java.lang.String Set the name of the message header that should be used to store the base64 encoded signature. This defaults to 'CamelDigitalSignature'
exchangePattern parameter advanced InOnly org.apache.camel.ExchangePattern InOnly
RobustInOnly
InOut
InOptionalOut
OutOnly
RobustOutOnly
OutIn
OutOptionalIn
Sets the default exchange pattern when creating an exchange
synchronous parameter advanced false boolean Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported).