<PackageReference Include="BouncyCastle.Cryptography" Version="2.8.0-beta.349" />

Org.BouncyCastle.Cms.CmsCompressedDataParser

Streaming parser for CMS CompressedData messages, the counterpart to CmsCompressedData.
public CmsCompressedDataParser(byte[] compressedData)

Creates a parser from an encoded CompressedData message.

public CmsCompressedDataParser(Stream compressedData)

Creates a parser from an encoded CompressedData message.

Returns a typed stream over the decompressed content.