Package org.bouncycastle.cms.jcajce
Class ZlibExpanderProvider
- java.lang.Object
-
- org.bouncycastle.cms.jcajce.ZlibExpanderProvider
-
- All Implemented Interfaces:
InputExpanderProvider
public class ZlibExpanderProvider extends java.lang.Object implements InputExpanderProvider
-
-
Constructor Summary
Constructors Constructor Description ZlibExpanderProvider()
Base constructor.ZlibExpanderProvider(long limit)
Create a provider which caps the number of expanded bytes that can be produced when the compressed stream is parsed.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputExpander
get(org.bouncycastle.asn1.x509.AlgorithmIdentifier algorithm)
-
-
-
Constructor Detail
-
ZlibExpanderProvider
public ZlibExpanderProvider()
Base constructor. Create an expander which will not limit the size of any objects expanded in the stream.
-
ZlibExpanderProvider
public ZlibExpanderProvider(long limit)
Create a provider which caps the number of expanded bytes that can be produced when the compressed stream is parsed.- Parameters:
limit
- max number of bytes allowed in an expanded stream.
-
-
Method Detail
-
get
public InputExpander get(org.bouncycastle.asn1.x509.AlgorithmIdentifier algorithm)
- Specified by:
get
in interfaceInputExpanderProvider
-
-