Overview | Package | Class | Tree | Deprecated | Index | Help
| Bouncy Castle Cryptography 1.20
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.bouncycastle.cms
Class CMSCompressedDataGenerator

    java.lang.Object
      |
      +--org.bouncycastle.cms.CMSCompressedDataGenerator

public class CMSCompressedDataGenerator
extends java.lang.Object

General class for generating a compressed CMS message.

A simple example of usage.

          CMSCompressedDataGenerator  fact = new CMSCompressedDataGenerator();

          CMSCompressedData           data = fact.generate(content, algorithm);

Field Summary
`static java.lang.String` | `ZLIB`

Constructor Summary
`CMSCompressedDataGenerator()` base constructor

Method Summary
`CMSCompressedData` | `generate(CMSProcessable content, java.lang.String compressionOID)` generate an object that contains an CMS Compressed Data

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### ZLIB

    public static final java.lang.String ZLIB

See Also:
  Constant Field Values

Constructor Detail

### CMSCompressedDataGenerator

    public CMSCompressedDataGenerator()

  base constructor

Method Detail

### generate

    public CMSCompressedData generate(CMSProcessable content,
                                      java.lang.String compressionOID)
                               throws CMSException

  generate an object that contains an CMS Compressed Data

    `CMSException`

Overview | Package | Class | Tree | Deprecated | Index | Help
| Bouncy Castle Cryptography 1.20
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD