Class ApplicationPkcs7MimeCompressedDataEntity

java.lang.Object
org.apache.hc.core5.http.io.entity.AbstractHttpEntity
org.apache.camel.component.as2.api.entity.MimeEntity
org.apache.camel.component.as2.api.entity.ApplicationPkcs7MimeCompressedDataEntity
All Implemented Interfaces:
Closeable, AutoCloseable, org.apache.hc.core5.http.EntityDetails, org.apache.hc.core5.http.HttpEntity

public class ApplicationPkcs7MimeCompressedDataEntity extends MimeEntity
  • Constructor Details

    • ApplicationPkcs7MimeCompressedDataEntity

      public ApplicationPkcs7MimeCompressedDataEntity(MimeEntity entity2Encrypt, org.bouncycastle.cms.CMSCompressedDataGenerator dataGenerator, org.bouncycastle.operator.OutputCompressor compressor, String compressedContentTransferEncoding, boolean isMainBody) throws org.apache.hc.core5.http.HttpException
      Throws:
      org.apache.hc.core5.http.HttpException
    • ApplicationPkcs7MimeCompressedDataEntity

      public ApplicationPkcs7MimeCompressedDataEntity(byte[] compressedData, String compressedContentTransferEncoding, boolean isMainBody)
  • Method Details

    • writeTo

      public void writeTo(OutputStream outstream) throws IOException
      Specified by:
      writeTo in interface org.apache.hc.core5.http.HttpEntity
      Overrides:
      writeTo in class org.apache.hc.core5.http.io.entity.AbstractHttpEntity
      Throws:
      IOException
    • getCompressedEntity

      public MimeEntity getCompressedEntity(org.bouncycastle.operator.InputExpanderProvider expanderProvider) throws org.apache.hc.core5.http.HttpException
      Throws:
      org.apache.hc.core5.http.HttpException
    • close

      public void close() throws IOException
      Throws:
      IOException