@Metadata(firstVersion="2.3.0", label="dataformat,transformation,security", title="Crypto (Java Cryptographic Extension)") public class CryptoDataFormat extends DataFormatDefinition
Constructor and Description |
---|
CryptoDataFormat() |
Modifier and Type | Method and Description |
---|---|
String |
getAlgorithm() |
String |
getAlgorithmParameterRef() |
Integer |
getBuffersize() |
String |
getCryptoProvider() |
String |
getInitVectorRef() |
Boolean |
getInline() |
String |
getKeyRef() |
String |
getMacAlgorithm() |
Boolean |
getShouldAppendHMAC() |
void |
setAlgorithm(String algorithm)
The JCE algorithm name indicating the cryptographic algorithm that will
be used.
|
void |
setAlgorithmParameterRef(String algorithmParameterRef)
A JCE AlgorithmParameterSpec used to initialize the Cipher.
|
void |
setBuffersize(Integer buffersize)
The size of the buffer used in the signature process.
|
void |
setCryptoProvider(String cryptoProvider)
The name of the JCE Security Provider that should be used.
|
void |
setInitVectorRef(String initVectorRef)
Refers to a byte array containing the Initialization Vector that will be
used to initialize the Cipher.
|
void |
setInline(Boolean inline)
Flag indicating that the configured IV should be inlined into the
encrypted data stream.
|
void |
setKeyRef(String keyRef)
Refers to the secret key to lookup from the register to use.
|
void |
setMacAlgorithm(String macAlgorithm)
The JCE algorithm name indicating the Message Authentication algorithm.
|
void |
setShouldAppendHMAC(Boolean shouldAppendHMAC)
Flag indicating that a Message Authentication Code should be calculated
and appended to the encrypted data.
|
getContentTypeHeader, getDataFormat, getDataFormatName, getOtherAttributes, getShortName, setContentTypeHeader, setDataFormat, setDataFormatName, setOtherAttributes
getId, setId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getReadPropertyPlaceholderOptions, getWritePropertyPlaceholderOptions
public CryptoDataFormat()
public String getAlgorithm()
public void setAlgorithm(String algorithm)
public String getCryptoProvider()
public void setCryptoProvider(String cryptoProvider)
public void setKeyRef(String keyRef)
public String getInitVectorRef()
public void setInitVectorRef(String initVectorRef)
public String getAlgorithmParameterRef()
public void setAlgorithmParameterRef(String algorithmParameterRef)
AlgorithmParameterSpec
type.public Integer getBuffersize()
public void setBuffersize(Integer buffersize)
public String getMacAlgorithm()
public void setMacAlgorithm(String macAlgorithm)
public Boolean getShouldAppendHMAC()
public void setShouldAppendHMAC(Boolean shouldAppendHMAC)
Apache Camel