org.bouncycastle.asn1.cms
Class CompressedData
- DEREncodable
public class CompressedData
RFC 3274 - CMS Compressed Data.
CompressedData ::= SEQUENCE {
version CMSVersion,
compressionAlgorithm CompressionAlgorithmIdentifier,
encapContentInfo EncapsulatedContentInfo
}
getCompressionAlgorithmIdentifier
public AlgorithmIdentifier getCompressionAlgorithmIdentifier()
getEncapContentInfo
public ContentInfo getEncapContentInfo()
getInstance
public static CompressedData getInstance(Object _obj)
return a CompressedData object from the given object.
_obj
- the object we want converted.
getInstance
public static CompressedData getInstance(ASN1TaggedObject _ato,
boolean _explicit)
return a CompressedData object from a tagged object.
_ato
- the tagged object holding the object we want._explicit
- true if the object is meant to be explicitly
tagged false otherwise.