@UriParams public class DefaultEnvelopedDataDecryptorConfiguration extends DefaultCryptoCmsUnMarshallerConfiguration implements EnvelopedDataDecryptorConfiguration, Cloneable
Constructor and Description |
---|
DefaultEnvelopedDataDecryptorConfiguration() |
Modifier and Type | Method and Description |
---|---|
DefaultEnvelopedDataDecryptorConfiguration |
copy()
Creates a copy of the current instance, for example by cloning.
|
protected char[] |
getPassword(org.apache.camel.Exchange exchange) |
Collection<PrivateKeyWithCertificate> |
getPrivateKeyCertificateCollection(org.apache.camel.Exchange exchange)
Returns the private keys with their public keys in the X.509 certificate
which can be used for the decryption.
|
void |
setPassword(char[] password)
Sets the password of the private keys.
|
isFromBase64, setFromBase64
getKeyStore, getKeyStoreParameters, setKeyStore, setKeyStoreParameters
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isFromBase64
public DefaultEnvelopedDataDecryptorConfiguration()
public void setPassword(char[] password)
KeyStoreParameters
.protected char[] getPassword(org.apache.camel.Exchange exchange) throws CryptoCmsException
CryptoCmsException
public Collection<PrivateKeyWithCertificate> getPrivateKeyCertificateCollection(org.apache.camel.Exchange exchange) throws CryptoCmsException
EnvelopedDataDecryptorConfiguration
getPrivateKeyCertificateCollection
in interface EnvelopedDataDecryptorConfiguration
CryptoCmsException
public DefaultEnvelopedDataDecryptorConfiguration copy()
EnvelopedDataDecryptorConfiguration
copy
in interface EnvelopedDataDecryptorConfiguration
Apache Camel