public class ApplicationPkcs7MimeEnvelopedDataEntity extends MimeEntity
MimeEntity.NoCloseOutputStreamcontentLength, 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, setMainBodypublic 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.HttpExceptionpublic ApplicationPkcs7MimeEnvelopedDataEntity(byte[] encryptedData,
String encryptedContentTransferEncoding,
boolean isMainBody)
public void writeTo(OutputStream outstream) throws IOException
IOExceptionpublic MimeEntity getEncryptedEntity(PrivateKey privateKey) throws org.apache.http.HttpException
org.apache.http.HttpExceptionApache Camel