org.apache.camel.dataformat.xmlsecurity
Class XMLSecurityDataFormat
java.lang.Object
org.apache.camel.dataformat.xmlsecurity.XMLSecurityDataFormat
- All Implemented Interfaces:
- org.apache.camel.CamelContextAware, org.apache.camel.spi.DataFormat
public class XMLSecurityDataFormat
- extends java.lang.Object
- implements org.apache.camel.spi.DataFormat, org.apache.camel.CamelContextAware
|
Constructor Summary |
XMLSecurityDataFormat()
|
XMLSecurityDataFormat(java.lang.String secureTag,
boolean secureTagContents)
|
XMLSecurityDataFormat(java.lang.String secureTag,
boolean secureTagContents,
byte[] passPhrase)
|
XMLSecurityDataFormat(java.lang.String secureTag,
boolean secureTagContents,
byte[] passPhrase,
java.lang.String xmlCipherAlgorithm)
|
XMLSecurityDataFormat(java.lang.String secureTag,
boolean secureTagContents,
java.lang.String xmlCipherAlgorithm,
java.lang.String keyCipherAlgorithm)
|
XMLSecurityDataFormat(java.lang.String secureTag,
boolean secureTagContents,
java.lang.String recipientKeyAlias,
java.lang.String xmlCipherAlgorithm,
java.lang.String keyCipherAlgorithm)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XML_ENC_RECIPIENT_ALIAS
public static final java.lang.String XML_ENC_RECIPIENT_ALIAS
- See Also:
- Constant Field Values
XML_ENC_TRUST_STORE_URL
public static final java.lang.String XML_ENC_TRUST_STORE_URL
- See Also:
- Constant Field Values
XML_ENC_TRUST_STORE_PASSWORD
public static final java.lang.String XML_ENC_TRUST_STORE_PASSWORD
- See Also:
- Constant Field Values
XML_ENC_KEY_STORE_URL
public static final java.lang.String XML_ENC_KEY_STORE_URL
- See Also:
- Constant Field Values
XML_ENC_KEY_STORE_PASSWORD
public static final java.lang.String XML_ENC_KEY_STORE_PASSWORD
- See Also:
- Constant Field Values
XML_ENC_KEY_STORE_ALIAS
public static final java.lang.String XML_ENC_KEY_STORE_ALIAS
- See Also:
- Constant Field Values
XMLSecurityDataFormat
public XMLSecurityDataFormat()
XMLSecurityDataFormat
public XMLSecurityDataFormat(java.lang.String secureTag,
boolean secureTagContents)
XMLSecurityDataFormat
public XMLSecurityDataFormat(java.lang.String secureTag,
boolean secureTagContents,
byte[] passPhrase)
XMLSecurityDataFormat
public XMLSecurityDataFormat(java.lang.String secureTag,
boolean secureTagContents,
byte[] passPhrase,
java.lang.String xmlCipherAlgorithm)
XMLSecurityDataFormat
public XMLSecurityDataFormat(java.lang.String secureTag,
boolean secureTagContents,
java.lang.String xmlCipherAlgorithm,
java.lang.String keyCipherAlgorithm)
XMLSecurityDataFormat
public XMLSecurityDataFormat(java.lang.String secureTag,
boolean secureTagContents,
java.lang.String recipientKeyAlias,
java.lang.String xmlCipherAlgorithm,
java.lang.String keyCipherAlgorithm)
setCamelContext
public void setCamelContext(org.apache.camel.CamelContext camelContext)
- Specified by:
setCamelContext in interface org.apache.camel.CamelContextAware
getCamelContext
public org.apache.camel.CamelContext getCamelContext()
- Specified by:
getCamelContext in interface org.apache.camel.CamelContextAware
marshal
public void marshal(org.apache.camel.Exchange exchange,
java.lang.Object graph,
java.io.OutputStream stream)
throws java.lang.Exception
- Specified by:
marshal in interface org.apache.camel.spi.DataFormat
- Throws:
java.lang.Exception
unmarshal
public java.lang.Object unmarshal(org.apache.camel.Exchange exchange,
org.w3c.dom.Document document)
throws java.lang.Exception
- Throws:
java.lang.Exception
unmarshal
public java.lang.Object unmarshal(org.apache.camel.Exchange exchange,
java.io.InputStream stream)
throws java.lang.Exception
- Specified by:
unmarshal in interface org.apache.camel.spi.DataFormat
- Throws:
java.lang.Exception
getXmlCipherAlgorithm
public java.lang.String getXmlCipherAlgorithm()
setXmlCipherAlgorithm
public void setXmlCipherAlgorithm(java.lang.String xmlCipherAlgorithm)
getKeyCyperAlgorithm
public java.lang.String getKeyCyperAlgorithm()
setKeyCipherAlgorithm
public void setKeyCipherAlgorithm(java.lang.String keyCipherAlgorithm)
getRecipientKeyAlias
public java.lang.String getRecipientKeyAlias()
setRecipientKeyAlias
public void setRecipientKeyAlias(java.lang.String recipientKeyAlias)
getPassPhrase
public byte[] getPassPhrase()
setPassPhrase
public void setPassPhrase(byte[] passPhrase)
getSecureTag
public java.lang.String getSecureTag()
setSecureTag
public void setSecureTag(java.lang.String secureTag)
isSecureTagContents
public boolean isSecureTagContents()
getSecureTagContents
public boolean getSecureTagContents()
setSecureTagContents
public void setSecureTagContents(boolean secureTagContents)
getKeyStore
public java.security.KeyStore getKeyStore()
setKeyStore
public void setKeyStore(java.security.KeyStore keyStore)
getTrustStore
public java.security.KeyStore getTrustStore()
setTrustStore
public void setTrustStore(java.security.KeyStore trustStore)
getKeyStoreAlias
public java.lang.String getKeyStoreAlias()
setKeyStoreAlias
public void setKeyStoreAlias(java.lang.String keyStoreAlias)
getKeyStorePassword
public java.lang.String getKeyStorePassword()
setKeyStorePassword
public void setKeyStorePassword(java.lang.String keyStorePassword)
getTrustStorePassowrd
public java.lang.String getTrustStorePassowrd()
setTrustStorePassword
public void setTrustStorePassword(java.lang.String trustStorePassword)
Apache CAMEL