public class ApplicationPkcs7MimeEnvelopedDataEntity extends MimeEntity
MimeEntity.NoCloseOutputStream
contentLength, contentTransferEncoding, isMainBody, RECALCULATE_CONTENT_LENGTH, UNKNOWN_CONTENT_LENGTH
Constructor and 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) |
Modifier and Type | Method and Description |
---|---|
MimeEntity |
getEncryptedEntity(PrivateKey privateKey) |
void |
writeTo(OutputStream outstream) |
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
public ApplicationPkcs7MimeEnvelopedDataEntity(MimeEntity entity2Encrypt, org.bouncycastle.cms.CMSEnvelopedDataGenerator dataGenerator, org.bouncycastle.operator.OutputEncryptor encryptor, String encryptedContentTransferEncoding, boolean isMainBody) throws org.apache.http.HttpException
org.apache.http.HttpException
public ApplicationPkcs7MimeEnvelopedDataEntity(byte[] encryptedData, String encryptedContentTransferEncoding, boolean isMainBody)
public void writeTo(OutputStream outstream) throws IOException
IOException
public MimeEntity getEncryptedEntity(PrivateKey privateKey) throws org.apache.http.HttpException
org.apache.http.HttpException
Apache Camel