CompressedDataParser (Bouncy Castle Library 1.52 API Specification)
Date: 2015-03-01

org.bouncycastle.asn1.cms

## Class CompressedDataParser

- java.lang.Object
- - org.bouncycastle.asn1.cms.CompressedDataParser

-     public class CompressedDataParser
      extends java.lang.Object

  Parser of RFC 3274 `CompressedData` object.

       CompressedData ::= SEQUENCE {
           version CMSVersion,
           compressionAlgorithm CompressionAlgorithmIdentifier,
           encapContentInfo EncapsulatedContentInfo
       }

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `CompressedDataParser(ASN1SequenceParser seq)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `AlgorithmIdentifier` | `getCompressionAlgorithmIdentifier()`
    `ContentInfoParser` | `getEncapContentInfo()`
    `ASN1Integer` | `getVersion()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### CompressedDataParser

          public CompressedDataParser(ASN1SequenceParser seq)
                               throws java.io.IOException

      Throws:
        `java.io.IOException`

  - ### Method Detail

    - #### getVersion

          public ASN1Integer getVersion()

    - #### getCompressionAlgorithmIdentifier

          public AlgorithmIdentifier getCompressionAlgorithmIdentifier()

    - #### getEncapContentInfo

          public ContentInfoParser getEncapContentInfo()