@UriParams public class EnvelopedDataEncryptorConfiguration extends CryptoCmsMarshallerConfiguration
Constructor and Description |
---|
EnvelopedDataEncryptorConfiguration(org.apache.camel.CamelContext context) |
Modifier and Type | Method and Description |
---|---|
org.bouncycastle.asn1.ASN1ObjectIdentifier |
getAlgorithmID()
Content encryption algorithm.
|
String |
getContentEncryptionAlgorithm() |
OriginatorInformationProvider |
getOriginatorInformationProvider() |
List<RecipientInfo> |
getRecipient() |
int |
getSecretKeyLength() |
AttributesGeneratorProvider |
getUnprotectedAttributesGeneratorProvider() |
void |
init() |
void |
setContentEncryptionAlgorithm(String contentEncryptionAlgorithm)
Encryption algorithm, for example "DESede/CBC/PKCS5Padding".
|
void |
setOriginatorInformationProvider(OriginatorInformationProvider originatorInformationProvider)
Provider for the originator info.
|
void |
setRecipient(List<?> recipients) |
void |
setRecipient(RecipientInfo recipient) |
void |
setSecretKeyLength(int secretKeyLength)
Key length for the secret symmetric key used for the content encryption.
|
void |
setUnprotectedAttributesGeneratorProvider(AttributesGeneratorProvider unprotectedAttributeTableGeneratorProvider)
Provider of the generator for the unprotected attributes.
|
getContext, getToBase64, logErrorAndThrow, setToBase64
public EnvelopedDataEncryptorConfiguration(org.apache.camel.CamelContext context)
public List<RecipientInfo> getRecipient()
public void setRecipient(RecipientInfo recipient)
public void setRecipient(List<?> recipients)
public String getContentEncryptionAlgorithm()
public void setContentEncryptionAlgorithm(String contentEncryptionAlgorithm)
public int getSecretKeyLength()
public void setSecretKeyLength(int secretKeyLength)
public AttributesGeneratorProvider getUnprotectedAttributesGeneratorProvider()
public void setUnprotectedAttributesGeneratorProvider(AttributesGeneratorProvider unprotectedAttributeTableGeneratorProvider)
null
which means no unprotected attribute is added
to the Enveloped Data object. See
https://tools.ietf.org/html/rfc5652#section-6.1.public OriginatorInformationProvider getOriginatorInformationProvider()
public void setOriginatorInformationProvider(OriginatorInformationProvider originatorInformationProvider)
null
.public void init() throws CryptoCmsException
CryptoCmsException
public org.bouncycastle.asn1.ASN1ObjectIdentifier getAlgorithmID()
Apache Camel