public class DefaultKeySelector extends KeySelector implements org.apache.camel.CamelContextAware
KeySelector.Purpose| Constructor and Description |
|---|
DefaultKeySelector() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.camel.CamelContext |
getCamelContext() |
KeySelectorResult |
select(KeyInfo keyInfo,
KeySelector.Purpose purpose,
AlgorithmMethod method,
XMLCryptoContext context) |
void |
setAlias(String alias) |
void |
setCamelContext(org.apache.camel.CamelContext context) |
void |
setKeyStore(KeyStore keyStore) |
void |
setKeyStoreParameters(org.apache.camel.util.jsse.KeyStoreParameters parameters) |
void |
setPassword(char[] password) |
void |
setPassword(String password) |
singletonKeySelectorpublic void setKeyStore(KeyStore keyStore)
public void setAlias(String alias)
public void setPassword(String password)
public void setPassword(char[] password)
public void setKeyStoreParameters(org.apache.camel.util.jsse.KeyStoreParameters parameters)
throws GeneralSecurityException,
IOException
GeneralSecurityExceptionIOExceptionpublic KeySelectorResult select(KeyInfo keyInfo, KeySelector.Purpose purpose, AlgorithmMethod method, XMLCryptoContext context) throws KeySelectorException
select in class KeySelectorKeySelectorExceptionpublic org.apache.camel.CamelContext getCamelContext()
getCamelContext in interface org.apache.camel.CamelContextAwarepublic void setCamelContext(org.apache.camel.CamelContext context)
setCamelContext in interface org.apache.camel.CamelContextAwareApache Camel