Constructor and Description |
---|
CMSCompressedData(byte[] compressedData) |
CMSCompressedData(ContentInfo contentInfo) |
CMSCompressedData(InputStream compressedData) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getContent(InputExpanderProvider expanderProvider)
Return the uncompressed content.
|
ASN1ObjectIdentifier |
getContentType() |
byte[] |
getEncoded()
return the ASN.1 encoded representation of this object.
|
ContentInfo |
toASN1Structure()
return the ContentInfo
|
public CMSCompressedData(byte[] compressedData) throws CMSException
CMSException
public CMSCompressedData(InputStream compressedData) throws CMSException
CMSException
public CMSCompressedData(ContentInfo contentInfo) throws CMSException
CMSException
public ASN1ObjectIdentifier getContentType()
public byte[] getContent(InputExpanderProvider expanderProvider) throws CMSException
expanderProvider
- a provider of expander algorithm implementations.CMSException
- if there is an exception un-compressing the data.public ContentInfo toASN1Structure()
public byte[] getEncoded() throws IOException
getEncoded
in interface Encodable
IOException
Copyright © 2020 BouncyCastle.org. All rights reserved.