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
-
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
ConstructorsConstructorDescriptionApplicationPkcs7SignatureEntity(byte[] signature, String charset, String contentTransferEncoding, boolean isMainBody) ApplicationPkcs7SignatureEntity(MimeEntity data, org.bouncycastle.cms.CMSSignedDataGenerator signer, String charset, String contentTransferEncoding, boolean isMainBody) -
Method Summary
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
-
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
-
ApplicationPkcs7SignatureEntity
-
-
Method Details
-
getSignature
public byte[] getSignature() -
writeTo
- Throws:
IOException
-