|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.camel.dataformat.xmlsecurity.XMLSecurityDataFormat
public class XMLSecurityDataFormat
Field Summary | |
---|---|
static String |
XML_ENC_KEY_STORE_ALIAS
Deprecated. Use XMLSecurityDataFormat(String, Map, boolean, String, String, String, KeyStoreParameters) instead. |
static String |
XML_ENC_KEY_STORE_PASSWORD
Deprecated. Use XMLSecurityDataFormat(String, Map, boolean, String, String, String, KeyStoreParameters) instead. |
static String |
XML_ENC_KEY_STORE_URL
Deprecated. Use XMLSecurityDataFormat(String, Map, boolean, String, String, String, KeyStoreParameters) instead. |
static String |
XML_ENC_RECIPIENT_ALIAS
Deprecated. Use XMLSecurityDataFormat(String, Map, boolean, String, String, String, KeyStoreParameters) instead. |
static String |
XML_ENC_TRUST_STORE_PASSWORD
Deprecated. Use XMLSecurityDataFormat(String, Map, boolean, String, String, String, KeyStoreParameters) instead. |
static String |
XML_ENC_TRUST_STORE_URL
Deprecated. Use XMLSecurityDataFormat(String, Map, boolean, String, String, String, KeyStoreParameters) instead. |
Constructor Summary | |
---|---|
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 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,
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,
boolean secureTagContents,
String recipientKeyAlias,
String xmlCipherAlgorithm,
String keyCipherAlgorithm,
org.apache.camel.util.jsse.KeyStoreParameters keyOrTrustStoreParameters)
|
|
XMLSecurityDataFormat(String secureTag,
boolean secureTagContents,
String recipientKeyAlias,
String xmlCipherAlgorithm,
String keyCipherAlgorithm,
org.apache.camel.util.jsse.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,
byte[] passPhrase)
|
|
XMLSecurityDataFormat(String secureTag,
Map<String,String> namespaces,
boolean secureTagContents,
String recipientKeyAlias,
String xmlCipherAlgorithm,
String keyCipherAlgorithm,
org.apache.camel.util.jsse.KeyStoreParameters keyOrTrustStoreParameters)
|
|
XMLSecurityDataFormat(String secureTag,
Map<String,String> namespaces,
boolean secureTagContents,
String recipientKeyAlias,
String xmlCipherAlgorithm,
String keyCipherAlgorithm,
org.apache.camel.util.jsse.KeyStoreParameters keyOrTrustStoreParameters,
String keyPassword)
|
|
XMLSecurityDataFormat(String secureTag,
Map<String,String> namespaces,
boolean secureTagContents,
String recipientKeyAlias,
String xmlCipherAlgorithm,
String keyCipherAlgorithm,
org.apache.camel.util.jsse.KeyStoreParameters keyOrTrustStoreParameters,
String keyPassword,
String digestAlgorithm)
|
|
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 | |
---|---|
org.apache.camel.CamelContext |
getCamelContext()
|
String |
getDigestAlgorithm()
|
String |
getKeyCipherAlgorithm()
|
String |
getKeyCyperAlgorithm()
Deprecated. |
org.apache.camel.util.jsse.KeyStoreParameters |
getKeyOrTrustStoreParameters()
|
String |
getKeyOrTrustStoreParametersId()
|
KeyStore |
getKeyStore()
Deprecated. Will change to private access in the future. |
String |
getKeyStorePassword()
Deprecated. Will change to private access in the future. Use getKeyOrTrustStoreParameters() instead. |
String |
getMgfAlgorithm()
|
byte[] |
getPassPhrase()
|
String |
getRecipientKeyAlias()
|
String |
getSecureTag()
|
boolean |
getSecureTagContents()
|
KeyStore |
getTrustStore()
Deprecated. Will change to private access in the future. Use getKeyOrTrustStoreParameters() instead. |
String |
getTrustStorePassword()
Deprecated. Will change to private access in the future. Use #setKeyOrTrustStoreParameters() instead. |
String |
getXmlCipherAlgorithm()
|
boolean |
isSecureTagContents()
|
void |
marshal(org.apache.camel.Exchange exchange,
Object graph,
OutputStream stream)
|
void |
setCamelContext(org.apache.camel.CamelContext camelContext)
|
void |
setDigestAlgorithm(String digestAlgorithm)
|
void |
setKeyCipherAlgorithm(String keyCipherAlgorithm)
|
void |
setKeyOrTrustStoreParameters(org.apache.camel.util.jsse.KeyStoreParameters parameters)
|
void |
setKeyOrTrustStoreParametersId(String registryId)
|
void |
setKeyPassword(String keyPassword)
|
void |
setKeyStore(KeyStore keyStore)
Deprecated. Use getKeyOrTrustStoreParameters() instead. |
void |
setKeyStorePassword(String keyStorePassword)
Deprecated. Use #setKeyOrTrustStoreParameters() instead. |
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 |
setTrustStore(KeyStore trustStore)
Deprecated. Use #setKeyOrTrustStoreParameters() instead. |
void |
setTrustStorePassword(String trustStorePassword)
Deprecated. Use #setKeyOrTrustStoreParameters() instead. |
void |
setXmlCipherAlgorithm(String xmlCipherAlgorithm)
|
Object |
unmarshal(org.apache.camel.Exchange exchange,
Document document)
|
Object |
unmarshal(org.apache.camel.Exchange exchange,
InputStream stream)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
@Deprecated public static final String XML_ENC_RECIPIENT_ALIAS
XMLSecurityDataFormat(String, Map, boolean, String, String, String, KeyStoreParameters)
instead.@Deprecated public static final String XML_ENC_TRUST_STORE_URL
XMLSecurityDataFormat(String, Map, boolean, String, String, String, KeyStoreParameters)
instead.@Deprecated public static final String XML_ENC_TRUST_STORE_PASSWORD
XMLSecurityDataFormat(String, Map, boolean, String, String, String, KeyStoreParameters)
instead.@Deprecated public static final String XML_ENC_KEY_STORE_URL
XMLSecurityDataFormat(String, Map, boolean, String, String, String, KeyStoreParameters)
instead.@Deprecated public static final String XML_ENC_KEY_STORE_PASSWORD
XMLSecurityDataFormat(String, Map, boolean, String, String, String, KeyStoreParameters)
instead.@Deprecated public static final String XML_ENC_KEY_STORE_ALIAS
XMLSecurityDataFormat(String, Map, boolean, String, String, String, KeyStoreParameters)
instead.Constructor Detail |
---|
public 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)
@Deprecated public XMLSecurityDataFormat(String secureTag, boolean secureTagContents, String xmlCipherAlgorithm, String keyCipherAlgorithm)
XMLSecurityDataFormat(String, Map, boolean, String, String, String, String)
or
XMLSecurityDataFormat(String, Map, boolean, String, String, String, KeyStoreParameters)
instead.
@Deprecated public XMLSecurityDataFormat(String secureTag, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm)
XMLSecurityDataFormat(String, Map, boolean, String, String, String, String)
or
XMLSecurityDataFormat(String, Map, boolean, String, String, String, KeyStoreParameters)
instead.
public XMLSecurityDataFormat(String secureTag, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, String keyOrTrustStoreParametersId)
public XMLSecurityDataFormat(String secureTag, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, String keyOrTrustStoreParametersId, String keyPassword)
public XMLSecurityDataFormat(String secureTag, Map<String,String> namespaces, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, String keyOrTrustStoreParametersId)
public XMLSecurityDataFormat(String secureTag, Map<String,String> namespaces, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, String keyOrTrustStoreParametersId, String keyPassword)
public XMLSecurityDataFormat(String secureTag, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, org.apache.camel.util.jsse.KeyStoreParameters keyOrTrustStoreParameters)
public XMLSecurityDataFormat(String secureTag, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, org.apache.camel.util.jsse.KeyStoreParameters keyOrTrustStoreParameters, String keyPassword)
public XMLSecurityDataFormat(String secureTag, Map<String,String> namespaces, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, org.apache.camel.util.jsse.KeyStoreParameters keyOrTrustStoreParameters)
public XMLSecurityDataFormat(String secureTag, Map<String,String> namespaces, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, org.apache.camel.util.jsse.KeyStoreParameters keyOrTrustStoreParameters, String keyPassword)
public XMLSecurityDataFormat(String secureTag, Map<String,String> namespaces, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, org.apache.camel.util.jsse.KeyStoreParameters keyOrTrustStoreParameters, String keyPassword, String digestAlgorithm)
Method Detail |
---|
public void setCamelContext(org.apache.camel.CamelContext camelContext)
setCamelContext
in interface org.apache.camel.CamelContextAware
public org.apache.camel.CamelContext getCamelContext()
getCamelContext
in interface org.apache.camel.CamelContextAware
public void marshal(org.apache.camel.Exchange exchange, Object graph, OutputStream stream) throws Exception
marshal
in interface org.apache.camel.spi.DataFormat
Exception
public Object unmarshal(org.apache.camel.Exchange exchange, Document document) throws Exception
Exception
public Object unmarshal(org.apache.camel.Exchange exchange, InputStream stream) throws Exception
unmarshal
in interface org.apache.camel.spi.DataFormat
Exception
public String getXmlCipherAlgorithm()
public void setXmlCipherAlgorithm(String xmlCipherAlgorithm)
@Deprecated public String getKeyCyperAlgorithm()
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)
@Deprecated public KeyStore getKeyStore()
@Deprecated public void setKeyStore(KeyStore keyStore)
getKeyOrTrustStoreParameters()
instead.
@Deprecated public KeyStore getTrustStore()
getKeyOrTrustStoreParameters()
instead.
@Deprecated public void setTrustStore(KeyStore trustStore)
#setKeyOrTrustStoreParameters()
instead.
@Deprecated public String getKeyStorePassword()
getKeyOrTrustStoreParameters()
instead.
@Deprecated public void setKeyStorePassword(String keyStorePassword)
#setKeyOrTrustStoreParameters()
instead.
@Deprecated public String getTrustStorePassword()
#setKeyOrTrustStoreParameters()
instead.
@Deprecated public void setTrustStorePassword(String trustStorePassword)
#setKeyOrTrustStoreParameters()
instead.
public void setKeyOrTrustStoreParameters(org.apache.camel.util.jsse.KeyStoreParameters parameters)
public org.apache.camel.util.jsse.KeyStoreParameters getKeyOrTrustStoreParameters()
public void setKeyOrTrustStoreParametersId(String registryId)
public String getKeyOrTrustStoreParametersId()
public void setNamespaces(Map<String,String> namespaces)
public void setKeyPassword(String keyPassword)
public String getDigestAlgorithm()
public void setDigestAlgorithm(String digestAlgorithm)
public String getMgfAlgorithm()
public void setMgfAlgorithm(String mgfAlgorithm)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |