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
-
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_LENGTHFields inherited from class org.apache.http.entity.AbstractHttpEntity
chunked, contentEncoding, contentType, OUTPUT_BUFFER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionApplicationPkcs7MimeEnvelopedDataEntity(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
Modifier and TypeMethodDescriptiongetEncryptedEntity(PrivateKey privateKey) voidwriteTo(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, setMainBodyMethods inherited from class org.apache.http.entity.AbstractHttpEntity
consumeContent, getContentEncoding, getContentType, isChunked, setChunked, setContentEncoding, setContentType, toString
-
Constructor Details
-
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 Details
-
writeTo
- Throws:
IOException
-
getEncryptedEntity
- Throws:
org.apache.http.HttpException
-