@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 |
|---|---|
Boolean |
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() |
Boolean |
getSecureTagContents() |
String |
getXmlCipherAlgorithm() |
void |
setAddKeyValueForEncryptedKey(Boolean 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(Boolean 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.
|
getContentTypeHeader, getDataFormat, getDataFormatName, getOtherAttributes, getShortName, setContentTypeHeader, setDataFormat, setDataFormatName, setOtherAttributesgetId, setIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetReadPropertyPlaceholderOptions, getWritePropertyPlaceholderOptionspublic XMLSecurityDataFormat()
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 Boolean getSecureTagContents()
public void setSecureTagContents(Boolean 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 Boolean getAddKeyValueForEncryptedKey()
public void setAddKeyValueForEncryptedKey(Boolean addKeyValueForEncryptedKey)
public void setNamespaces(Map<String,String> nspaces)
setNamespaces in interface org.apache.camel.spi.NamespaceAwarepublic Map<String,String> getNamespaces()
getNamespaces in interface org.apache.camel.spi.NamespaceAwareApache Camel