@Metadata(firstVersion="2.0.0", label="dataformat,transformation,xml,security", title="XML Security") public class XMLSecurityDataFormat extends DataFormatDefinition implements org.apache.camel.spi.NamespaceAware
Constructor and Description |
---|
XMLSecurityDataFormat() |
Modifier and Type | Method and Description |
---|---|
String |
getAddKeyValueForEncryptedKey() |
String |
getDigestAlgorithm() |
String |
getKeyCipherAlgorithm() |
org.apache.camel.support.jsse.KeyStoreParameters |
getKeyOrTrustStoreParameters() |
String |
getKeyOrTrustStoreParametersRef() |
String |
getKeyPassword() |
String |
getMgfAlgorithm() |
Map<String,String> |
getNamespaces() |
String |
getPassPhrase() |
byte[] |
getPassPhraseByte() |
String |
getRecipientKeyAlias() |
String |
getSecureTag() |
String |
getSecureTagContents() |
String |
getXmlCipherAlgorithm() |
void |
setAddKeyValueForEncryptedKey(String addKeyValueForEncryptedKey)
Whether to add the public key used to encrypt the session key as a KeyValue in the EncryptedKey structure or not.
|
void |
setDigestAlgorithm(String digestAlgorithm)
The digest algorithm to use with the RSA OAEP algorithm.
|
void |
setKeyCipherAlgorithm(String keyCipherAlgorithm)
The cipher algorithm to be used for encryption/decryption of the asymmetric key.
|
void |
setKeyOrTrustStoreParameters(org.apache.camel.support.jsse.KeyStoreParameters keyOrTrustStoreParameters)
Configuration options for creating and loading a KeyStore instance that represents the sender's trustStore or
recipient's keyStore.
|
void |
setKeyOrTrustStoreParametersRef(String id)
Refers to a KeyStore instance to lookup in the registry, which is used for configuration options for creating and
loading a KeyStore instance that represents the sender's trustStore or recipient's keyStore.
|
void |
setKeyPassword(String keyPassword)
The password to be used for retrieving the private key from the KeyStore.
|
void |
setMgfAlgorithm(String mgfAlgorithm)
The MGF Algorithm to use with the RSA OAEP algorithm.
|
void |
setNamespaces(Map<String,String> nspaces) |
void |
setPassPhrase(String passPhrase)
A String used as passPhrase to encrypt/decrypt content.
|
void |
setPassPhraseByte(byte[] passPhraseByte)
A byte[] used as passPhrase to encrypt/decrypt content.
|
void |
setRecipientKeyAlias(String recipientKeyAlias)
The key alias to be used when retrieving the recipient's public or private key from a KeyStore when performing
asymmetric key encryption or decryption.
|
void |
setSecureTag(String secureTag)
The XPath reference to the XML Element selected for encryption/decryption.
|
void |
setSecureTagContents(String secureTagContents)
A boolean value to specify whether the XML Element is to be encrypted or the contents of the XML Element false =
Element Level true = Element Content Level
|
void |
setXmlCipherAlgorithm(String xmlCipherAlgorithm)
The cipher algorithm to be used for encryption/decryption of the XML message content.
|
getDataFormat, getDataFormatName, getShortName, setDataFormat, setDataFormatName
getId, setId
public String getXmlCipherAlgorithm()
public void setXmlCipherAlgorithm(String xmlCipherAlgorithm)
public String getPassPhrase()
public void setPassPhrase(String passPhrase)
public byte[] getPassPhraseByte()
public void setPassPhraseByte(byte[] passPhraseByte)
public String getSecureTag()
public void setSecureTag(String secureTag)
public String getSecureTagContents()
public void setSecureTagContents(String secureTagContents)
public void setKeyCipherAlgorithm(String keyCipherAlgorithm)
public String getKeyCipherAlgorithm()
public void setRecipientKeyAlias(String recipientKeyAlias)
public String getRecipientKeyAlias()
public void setKeyOrTrustStoreParametersRef(String id)
public String getKeyOrTrustStoreParametersRef()
public org.apache.camel.support.jsse.KeyStoreParameters getKeyOrTrustStoreParameters()
public void setKeyOrTrustStoreParameters(org.apache.camel.support.jsse.KeyStoreParameters keyOrTrustStoreParameters)
public String getKeyPassword()
public void setKeyPassword(String keyPassword)
public String getDigestAlgorithm()
public void setDigestAlgorithm(String digestAlgorithm)
public String getMgfAlgorithm()
public void setMgfAlgorithm(String mgfAlgorithm)
public String getAddKeyValueForEncryptedKey()
public void setAddKeyValueForEncryptedKey(String addKeyValueForEncryptedKey)
public void setNamespaces(Map<String,String> nspaces)
setNamespaces
in interface org.apache.camel.spi.NamespaceAware
Apache Camel