FileDocCategorySizeDatePackage
CompressedDataParser.javaAPI DocBouncy Castle Crypto API 1.41 (Java 1.5)1468Wed Oct 01 10:55:28 BST 2008org.bouncycastle.sasn1.cms

CompressedDataParser

public class CompressedDataParser extends Object
RFC 3274 - CMS Compressed Data.
CompressedData ::= SEQUENCE {
version CMSVersion,
compressionAlgorithm CompressionAlgorithmIdentifier,
encapContentInfo EncapsulatedContentInfo
}
deprecated
use corresponding class in org.bouncycastle.asn1.cms

Fields Summary
private org.bouncycastle.sasn1.Asn1Integer
_version
private org.bouncycastle.asn1.x509.AlgorithmIdentifier
_compressionAlgorithm
private ContentInfoParser
_encapContentInfo
Constructors Summary
public CompressedDataParser(org.bouncycastle.sasn1.Asn1Sequence seq)

        this._version = (Asn1Integer)seq.readObject();
        this._compressionAlgorithm = AlgorithmIdentifier.getInstance(new ASN1InputStream(((DerSequence)seq.readObject()).getEncoded()).readObject());
        this._encapContentInfo = new ContentInfoParser((Asn1Sequence)seq.readObject());
    
Methods Summary
public org.bouncycastle.asn1.x509.AlgorithmIdentifiergetCompressionAlgorithmIdentifier()

        return _compressionAlgorithm;
    
public ContentInfoParsergetEncapContentInfo()

        return _encapContentInfo;
    
public org.bouncycastle.sasn1.Asn1IntegergetVersion()

        return _version;