Crypto (Java Cryptographic Extension)

Crypto (Java Cryptographic Extension)

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