Class ApplicationPkcs7SignatureEntity
- java.lang.Object
-
- org.apache.http.entity.AbstractHttpEntity
-
- org.apache.camel.component.as2.api.entity.MimeEntity
-
- org.apache.camel.component.as2.api.entity.ApplicationPkcs7SignatureEntity
-
- All Implemented Interfaces:
org.apache.http.HttpEntity
public class ApplicationPkcs7SignatureEntity 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 ApplicationPkcs7SignatureEntity(byte[] signature, String charset, String contentTransferEncoding, boolean isMainBody)
ApplicationPkcs7SignatureEntity(MimeEntity data, org.bouncycastle.cms.CMSSignedDataGenerator signer, String charset, String contentTransferEncoding, boolean isMainBody)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getSignature()
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
-
ApplicationPkcs7SignatureEntity
public ApplicationPkcs7SignatureEntity(MimeEntity data, org.bouncycastle.cms.CMSSignedDataGenerator signer, String charset, String contentTransferEncoding, boolean isMainBody) throws org.apache.http.HttpException
- Throws:
org.apache.http.HttpException
-
-
Method Detail
-
getSignature
public byte[] getSignature()
-
writeTo
public void writeTo(OutputStream outstream) throws IOException
- Throws:
IOException
-
-