org.apache.camel.model.dataformat
Class XMLSecurityDataFormat

java.lang.Object
  extended by org.apache.camel.model.IdentifiedType
      extended by org.apache.camel.model.DataFormatDefinition
          extended by org.apache.camel.model.dataformat.XMLSecurityDataFormat
All Implemented Interfaces:
NamespaceAware

public class XMLSecurityDataFormat
extends DataFormatDefinition
implements NamespaceAware

Represents as XML Security Encrypter/Decrypter DataFormat


Constructor Summary
XMLSecurityDataFormat()
           
XMLSecurityDataFormat(String secureTag, boolean secureTagContents)
           
XMLSecurityDataFormat(String secureTag, boolean secureTagContents, String passPhrase)
           
XMLSecurityDataFormat(String secureTag, boolean secureTagContents, String passPhrase, String xmlCipherAlgorithm)
           
XMLSecurityDataFormat(String secureTag, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm)
          Deprecated. use {XMLSecurityDataFormat(String, boolean, String, String, String, String) or {XMLSecurityDataFormat(String, boolean, String, String, String, KeyStoreParameters) instead
XMLSecurityDataFormat(String secureTag, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, KeyStoreParameters keyOrTrustStoreParameters)
           
XMLSecurityDataFormat(String secureTag, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, KeyStoreParameters keyOrTrustStoreParameters, String keyPassword)
           
XMLSecurityDataFormat(String secureTag, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, String keyOrTrustStoreParametersId)
           
XMLSecurityDataFormat(String secureTag, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, String keyOrTrustStoreParametersId, String keyPassword)
           
XMLSecurityDataFormat(String secureTag, Map<String,String> namespaces, boolean secureTagContents)
           
XMLSecurityDataFormat(String secureTag, Map<String,String> namespaces, boolean secureTagContents, String passPhrase)
           
XMLSecurityDataFormat(String secureTag, Map<String,String> namespaces, boolean secureTagContents, String passPhrase, String xmlCipherAlgorithm)
           
XMLSecurityDataFormat(String secureTag, Map<String,String> namespaces, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm)
          Deprecated. use {XMLSecurityDataFormat(String, Map, boolean, String, String, String, String) or {XMLSecurityDataFormat(String, Map, boolean, String, String, String, KeyStoreParameters) instead
XMLSecurityDataFormat(String secureTag, Map<String,String> namespaces, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, KeyStoreParameters keyOrTrustStoreParameters)
           
XMLSecurityDataFormat(String secureTag, Map<String,String> namespaces, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, KeyStoreParameters keyOrTrustStoreParameters, String keyPassword)
           
XMLSecurityDataFormat(String secureTag, Map<String,String> namespaces, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, String keyOrTrustStoreParametersId)
           
XMLSecurityDataFormat(String secureTag, Map<String,String> namespaces, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, String keyOrTrustStoreParametersId, String keyPassword)
           
 
Method Summary
protected  void configureDataFormat(DataFormat dataFormat)
          Allows derived classes to customize the data format
 String getKeyCipherAlgorithm()
           
 String getKeyOrTrustStoreParametersId()
           
 String getKeyPassword()
           
 String getPassPhrase()
           
 String getRecipientKeyAlias()
           
 String getSecureTag()
           
 Boolean getSecureTagContents()
           
 String getXmlCipherAlgorithm()
           
 boolean isSecureTagContents()
           
 void setKeyCipherAlgorithm(String keyCipherAlgorithm)
           
 void setKeyOrTrustStoreParametersId(String id)
           
 void setKeyPassword(String keyPassword)
           
 void setNamespaces(Map<String,String> nspaces)
          Injects the XML Namespaces of prefix -> uri mappings
 void setPassPhrase(String passPhrase)
           
 void setRecipientKeyAlias(String recipientKeyAlias)
           
 void setSecureTag(String secureTag)
           
 void setSecureTagContents(Boolean secureTagContents)
           
 void setXmlCipherAlgorithm(String xmlCipherAlgorithm)
           
 
Methods inherited from class org.apache.camel.model.DataFormatDefinition
createDataFormat, getDataFormat, getDataFormat, getDataFormat, getDataFormatName, getShortName, setDataFormat, setDataFormatName, setProperty
 
Methods inherited from class org.apache.camel.model.IdentifiedType
getId, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLSecurityDataFormat

public XMLSecurityDataFormat()

XMLSecurityDataFormat

public XMLSecurityDataFormat(String secureTag,
                             boolean secureTagContents)

XMLSecurityDataFormat

public XMLSecurityDataFormat(String secureTag,
                             Map<String,String> namespaces,
                             boolean secureTagContents)

XMLSecurityDataFormat

public XMLSecurityDataFormat(String secureTag,
                             boolean secureTagContents,
                             String passPhrase)

XMLSecurityDataFormat

public XMLSecurityDataFormat(String secureTag,
                             Map<String,String> namespaces,
                             boolean secureTagContents,
                             String passPhrase)

XMLSecurityDataFormat

public XMLSecurityDataFormat(String secureTag,
                             boolean secureTagContents,
                             String passPhrase,
                             String xmlCipherAlgorithm)

XMLSecurityDataFormat

public XMLSecurityDataFormat(String secureTag,
                             Map<String,String> namespaces,
                             boolean secureTagContents,
                             String passPhrase,
                             String xmlCipherAlgorithm)

XMLSecurityDataFormat

@Deprecated
public XMLSecurityDataFormat(String secureTag,
                                        boolean secureTagContents,
                                        String recipientKeyAlias,
                                        String xmlCipherAlgorithm,
                                        String keyCipherAlgorithm)
Deprecated. use {XMLSecurityDataFormat(String, boolean, String, String, String, String) or {XMLSecurityDataFormat(String, boolean, String, String, String, KeyStoreParameters) instead


XMLSecurityDataFormat

public XMLSecurityDataFormat(String secureTag,
                             boolean secureTagContents,
                             String recipientKeyAlias,
                             String xmlCipherAlgorithm,
                             String keyCipherAlgorithm,
                             String keyOrTrustStoreParametersId)

XMLSecurityDataFormat

public XMLSecurityDataFormat(String secureTag,
                             boolean secureTagContents,
                             String recipientKeyAlias,
                             String xmlCipherAlgorithm,
                             String keyCipherAlgorithm,
                             KeyStoreParameters keyOrTrustStoreParameters)

XMLSecurityDataFormat

public XMLSecurityDataFormat(String secureTag,
                             boolean secureTagContents,
                             String recipientKeyAlias,
                             String xmlCipherAlgorithm,
                             String keyCipherAlgorithm,
                             String keyOrTrustStoreParametersId,
                             String keyPassword)

XMLSecurityDataFormat

public XMLSecurityDataFormat(String secureTag,
                             boolean secureTagContents,
                             String recipientKeyAlias,
                             String xmlCipherAlgorithm,
                             String keyCipherAlgorithm,
                             KeyStoreParameters keyOrTrustStoreParameters,
                             String keyPassword)

XMLSecurityDataFormat

@Deprecated
public XMLSecurityDataFormat(String secureTag,
                                        Map<String,String> namespaces,
                                        boolean secureTagContents,
                                        String recipientKeyAlias,
                                        String xmlCipherAlgorithm,
                                        String keyCipherAlgorithm)
Deprecated. use {XMLSecurityDataFormat(String, Map, boolean, String, String, String, String) or {XMLSecurityDataFormat(String, Map, boolean, String, String, String, KeyStoreParameters) instead


XMLSecurityDataFormat

public XMLSecurityDataFormat(String secureTag,
                             Map<String,String> namespaces,
                             boolean secureTagContents,
                             String recipientKeyAlias,
                             String xmlCipherAlgorithm,
                             String keyCipherAlgorithm,
                             String keyOrTrustStoreParametersId)

XMLSecurityDataFormat

public XMLSecurityDataFormat(String secureTag,
                             Map<String,String> namespaces,
                             boolean secureTagContents,
                             String recipientKeyAlias,
                             String xmlCipherAlgorithm,
                             String keyCipherAlgorithm,
                             KeyStoreParameters keyOrTrustStoreParameters)

XMLSecurityDataFormat

public XMLSecurityDataFormat(String secureTag,
                             Map<String,String> namespaces,
                             boolean secureTagContents,
                             String recipientKeyAlias,
                             String xmlCipherAlgorithm,
                             String keyCipherAlgorithm,
                             String keyOrTrustStoreParametersId,
                             String keyPassword)

XMLSecurityDataFormat

public XMLSecurityDataFormat(String secureTag,
                             Map<String,String> namespaces,
                             boolean secureTagContents,
                             String recipientKeyAlias,
                             String xmlCipherAlgorithm,
                             String keyCipherAlgorithm,
                             KeyStoreParameters keyOrTrustStoreParameters,
                             String keyPassword)
Method Detail

configureDataFormat

protected void configureDataFormat(DataFormat dataFormat)
Description copied from class: DataFormatDefinition
Allows derived classes to customize the data format

Overrides:
configureDataFormat in class DataFormatDefinition

getXmlCipherAlgorithm

public String getXmlCipherAlgorithm()

setXmlCipherAlgorithm

public void setXmlCipherAlgorithm(String xmlCipherAlgorithm)

getPassPhrase

public String getPassPhrase()

setPassPhrase

public void setPassPhrase(String passPhrase)

getSecureTag

public String getSecureTag()

setSecureTag

public void setSecureTag(String secureTag)

getSecureTagContents

public Boolean getSecureTagContents()

setSecureTagContents

public void setSecureTagContents(Boolean secureTagContents)

isSecureTagContents

public boolean isSecureTagContents()

setKeyCipherAlgorithm

public void setKeyCipherAlgorithm(String keyCipherAlgorithm)

getKeyCipherAlgorithm

public String getKeyCipherAlgorithm()

setRecipientKeyAlias

public void setRecipientKeyAlias(String recipientKeyAlias)

getRecipientKeyAlias

public String getRecipientKeyAlias()

setKeyOrTrustStoreParametersId

public void setKeyOrTrustStoreParametersId(String id)

getKeyOrTrustStoreParametersId

public String getKeyOrTrustStoreParametersId()

getKeyPassword

public String getKeyPassword()

setKeyPassword

public void setKeyPassword(String keyPassword)

setNamespaces

public void setNamespaces(Map<String,String> nspaces)
Description copied from interface: NamespaceAware
Injects the XML Namespaces of prefix -> uri mappings

Specified by:
setNamespaces in interface NamespaceAware
Parameters:
nspaces - the XML namespaces with the key of prefixes and the value the URIs


Apache CAMEL