CMSProcessable (Bouncy Castle Library 1.54 API Specification)
Date: 2015-12-29

org.bouncycastle.cms

## Interface CMSProcessable

- All Known Subinterfaces:
    CMSTypedData
  All Known Implementing Classes:
    CMSAbsentContent, CMSProcessableByteArray, CMSProcessableFile, PKCS7ProcessableObject

      public interface CMSProcessable

  Use CMSTypedData instead of this. See CMSProcessableFile/ByteArray for defaults.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.Object` | `getContent()`
    `void` | `write(java.io.OutputStream out)` generic routine to copy out the data we want processed - the OutputStream passed in will do the handling on it's own.

- - ### Method Detail

    - #### write

          void write(java.io.OutputStream out)
                     throws java.io.IOException,
                            CMSException

      generic routine to copy out the data we want processed - the OutputStream passed in will do the handling on it's own.

      Note: this routine may be called multiple times.

      Throws:
        `java.io.IOException`
        `CMSException`

    - #### getContent

          java.lang.Object getContent()