Class ApplicationPkcs7MimeEnvelopedDataEntity
- java.lang.Object
-
- org.apache.http.entity.AbstractHttpEntity
-
- org.apache.camel.component.as2.api.entity.MimeEntity
-
- org.apache.camel.component.as2.api.entity.ApplicationPkcs7MimeEnvelopedDataEntity
-
- All Implemented Interfaces:
org.apache.http.HttpEntity
public class ApplicationPkcs7MimeEnvelopedDataEntity extends MimeEntity
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.camel.component.as2.api.entity.MimeEntity
MimeEntity.NoCloseOutputStream
-
-
Field Summary
-
Fields inherited from class org.apache.camel.component.as2.api.entity.MimeEntity
contentLength, contentTransferEncoding, isMainBody, RECALCULATE_CONTENT_LENGTH, UNKNOWN_CONTENT_LENGTH
-
-
Constructor Summary
Constructors Constructor Description ApplicationPkcs7MimeEnvelopedDataEntity(byte[] encryptedData, String encryptedContentTransferEncoding, boolean isMainBody)
ApplicationPkcs7MimeEnvelopedDataEntity(MimeEntity entity2Encrypt, org.bouncycastle.cms.CMSEnvelopedDataGenerator dataGenerator, org.bouncycastle.operator.OutputEncryptor encryptor, String encryptedContentTransferEncoding, boolean isMainBody)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MimeEntity
getEncryptedEntity(PrivateKey privateKey)
void
writeTo(OutputStream outstream)
-
Methods inherited from class org.apache.camel.component.as2.api.entity.MimeEntity
addHeader, addHeader, containsHeader, getAllHeaders, getCharset, getContent, getContentEncodingValue, getContentLength, getContentTransferEncoding, getContentTransferEncodingValue, getContentTypeValue, getFirstHeader, getHeaders, getLastHeader, headerIterator, headerIterator, isMainBody, isRepeatable, isStreaming, removeAllHeaders, removeHeader, removeHeaders, setContentEncoding, setContentTransferEncoding, setContentTransferEncoding, setContentType, setContentType, setHeader, setHeader, setHeaders, setMainBody
-
-
-
-
Constructor Detail
-
ApplicationPkcs7MimeEnvelopedDataEntity
public ApplicationPkcs7MimeEnvelopedDataEntity(MimeEntity entity2Encrypt, org.bouncycastle.cms.CMSEnvelopedDataGenerator dataGenerator, org.bouncycastle.operator.OutputEncryptor encryptor, String encryptedContentTransferEncoding, boolean isMainBody) throws org.apache.http.HttpException
- Throws:
org.apache.http.HttpException
-
ApplicationPkcs7MimeEnvelopedDataEntity
public ApplicationPkcs7MimeEnvelopedDataEntity(byte[] encryptedData, String encryptedContentTransferEncoding, boolean isMainBody)
-
-
Method Detail
-
writeTo
public void writeTo(OutputStream outstream) throws IOException
- Throws:
IOException
-
getEncryptedEntity
public MimeEntity getEncryptedEntity(PrivateKey privateKey) throws org.apache.http.HttpException
- Throws:
org.apache.http.HttpException
-
-