@Dataformat(value="secureXML")
public class XMLSecurityDataFormat
extends org.apache.camel.support.service.ServiceSupport
implements org.apache.camel.spi.DataFormat, org.apache.camel.spi.DataFormatName, org.apache.camel.CamelContextAware
| Constructor and Description |
|---|
XMLSecurityDataFormat() |
XMLSecurityDataFormat(String secureTag,
boolean secureTagContents) |
XMLSecurityDataFormat(String secureTag,
boolean secureTagContents,
byte[] passPhrase) |
XMLSecurityDataFormat(String secureTag,
boolean secureTagContents,
byte[] passPhrase,
String xmlCipherAlgorithm) |
XMLSecurityDataFormat(String secureTag,
boolean secureTagContents,
String recipientKeyAlias,
String xmlCipherAlgorithm,
String keyCipherAlgorithm,
org.apache.camel.support.jsse.KeyStoreParameters keyOrTrustStoreParameters) |
XMLSecurityDataFormat(String secureTag,
boolean secureTagContents,
String recipientKeyAlias,
String xmlCipherAlgorithm,
String keyCipherAlgorithm,
org.apache.camel.support.jsse.KeyStoreParameters keyOrTrustStoreParameters,
String keyPassword) |
XMLSecurityDataFormat(String secureTag,
Map<String,String> namespaces,
boolean secureTagContents) |
XMLSecurityDataFormat(String secureTag,
Map<String,String> namespaces,
boolean secureTagContents,
byte[] passPhrase) |
XMLSecurityDataFormat(String secureTag,
Map<String,String> namespaces,
boolean secureTagContents,
String recipientKeyAlias,
String xmlCipherAlgorithm,
String keyCipherAlgorithm,
org.apache.camel.support.jsse.KeyStoreParameters keyOrTrustStoreParameters) |
XMLSecurityDataFormat(String secureTag,
Map<String,String> namespaces,
boolean secureTagContents,
String recipientKeyAlias,
String xmlCipherAlgorithm,
String keyCipherAlgorithm,
org.apache.camel.support.jsse.KeyStoreParameters keyOrTrustStoreParameters,
String keyPassword) |
XMLSecurityDataFormat(String secureTag,
Map<String,String> namespaces,
boolean secureTagContents,
String recipientKeyAlias,
String xmlCipherAlgorithm,
String keyCipherAlgorithm,
org.apache.camel.support.jsse.KeyStoreParameters keyOrTrustStoreParameters,
String keyPassword,
String digestAlgorithm) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doStart() |
protected void |
doStop() |
org.apache.camel.CamelContext |
getCamelContext() |
String |
getDataFormatName() |
String |
getDigestAlgorithm() |
String |
getKeyCipherAlgorithm() |
org.apache.camel.support.jsse.KeyStoreParameters |
getKeyOrTrustStoreParameters() |
String |
getMgfAlgorithm() |
byte[] |
getPassPhrase() |
String |
getRecipientKeyAlias() |
String |
getSecureTag() |
boolean |
getSecureTagContents() |
String |
getXmlCipherAlgorithm() |
boolean |
isAddKeyValueForEncryptedKey() |
boolean |
isSecureTagContents() |
void |
marshal(org.apache.camel.Exchange exchange,
Object graph,
OutputStream stream) |
void |
setAddKeyValueForEncryptedKey(boolean addKeyValueForEncryptedKey) |
void |
setCamelContext(org.apache.camel.CamelContext camelContext) |
void |
setDigestAlgorithm(String digestAlgorithm) |
void |
setKeyCipherAlgorithm(String keyCipherAlgorithm) |
void |
setKeyOrTrustStoreParameters(org.apache.camel.support.jsse.KeyStoreParameters parameters) |
void |
setKeyPassword(String keyPassword) |
void |
setMgfAlgorithm(String mgfAlgorithm) |
void |
setNamespaces(Map<String,String> namespaces) |
void |
setPassPhrase(byte[] passPhrase) |
void |
setRecipientKeyAlias(String recipientKeyAlias) |
void |
setSecureTag(String secureTag) |
void |
setSecureTagContents(boolean secureTagContents) |
void |
setXmlCipherAlgorithm(String xmlCipherAlgorithm) |
Object |
unmarshal(org.apache.camel.Exchange exchange,
Document document) |
Object |
unmarshal(org.apache.camel.Exchange exchange,
InputStream stream) |
build, doBuild, doFail, doInit, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic XMLSecurityDataFormat()
public XMLSecurityDataFormat(String secureTag, boolean secureTagContents)
public XMLSecurityDataFormat(String secureTag, Map<String,String> namespaces, boolean secureTagContents)
public XMLSecurityDataFormat(String secureTag, boolean secureTagContents, byte[] passPhrase)
public XMLSecurityDataFormat(String secureTag, Map<String,String> namespaces, boolean secureTagContents, byte[] passPhrase)
public XMLSecurityDataFormat(String secureTag, boolean secureTagContents, byte[] passPhrase, String xmlCipherAlgorithm)
public XMLSecurityDataFormat(String secureTag, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, org.apache.camel.support.jsse.KeyStoreParameters keyOrTrustStoreParameters)
public XMLSecurityDataFormat(String secureTag, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, org.apache.camel.support.jsse.KeyStoreParameters keyOrTrustStoreParameters, String keyPassword)
public XMLSecurityDataFormat(String secureTag, Map<String,String> namespaces, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, org.apache.camel.support.jsse.KeyStoreParameters keyOrTrustStoreParameters)
public XMLSecurityDataFormat(String secureTag, Map<String,String> namespaces, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, org.apache.camel.support.jsse.KeyStoreParameters keyOrTrustStoreParameters, String keyPassword)
public XMLSecurityDataFormat(String secureTag, Map<String,String> namespaces, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, org.apache.camel.support.jsse.KeyStoreParameters keyOrTrustStoreParameters, String keyPassword, String digestAlgorithm)
public String getDataFormatName()
getDataFormatName in interface org.apache.camel.spi.DataFormatNamepublic void setCamelContext(org.apache.camel.CamelContext camelContext)
setCamelContext in interface org.apache.camel.CamelContextAwarepublic org.apache.camel.CamelContext getCamelContext()
getCamelContext in interface org.apache.camel.CamelContextAwareprotected void doStart()
throws Exception
doStart in class org.apache.camel.support.service.BaseServiceExceptionprotected void doStop()
throws Exception
doStop in class org.apache.camel.support.service.BaseServiceExceptionpublic void marshal(org.apache.camel.Exchange exchange,
Object graph,
OutputStream stream)
throws Exception
marshal in interface org.apache.camel.spi.DataFormatExceptionpublic Object unmarshal(org.apache.camel.Exchange exchange, Document document) throws Exception
Exceptionpublic Object unmarshal(org.apache.camel.Exchange exchange, InputStream stream) throws Exception
unmarshal in interface org.apache.camel.spi.DataFormatExceptionpublic String getXmlCipherAlgorithm()
public void setXmlCipherAlgorithm(String xmlCipherAlgorithm)
public String getKeyCipherAlgorithm()
public void setKeyCipherAlgorithm(String keyCipherAlgorithm)
public String getRecipientKeyAlias()
public void setRecipientKeyAlias(String recipientKeyAlias)
public byte[] getPassPhrase()
public void setPassPhrase(byte[] passPhrase)
public String getSecureTag()
public void setSecureTag(String secureTag)
public boolean isSecureTagContents()
public boolean getSecureTagContents()
public void setSecureTagContents(boolean secureTagContents)
public void setKeyOrTrustStoreParameters(org.apache.camel.support.jsse.KeyStoreParameters parameters)
public org.apache.camel.support.jsse.KeyStoreParameters getKeyOrTrustStoreParameters()
public void setKeyPassword(String keyPassword)
public String getDigestAlgorithm()
public void setDigestAlgorithm(String digestAlgorithm)
public String getMgfAlgorithm()
public void setMgfAlgorithm(String mgfAlgorithm)
public boolean isAddKeyValueForEncryptedKey()
public void setAddKeyValueForEncryptedKey(boolean addKeyValueForEncryptedKey)
Apache Camel