Bouncy Castle Cryptography Library 1.46

org.bouncycastle.cms.jcajce
Class ZlibExpanderProvider

java.lang.Object
  extended by org.bouncycastle.cms.jcajce.ZlibExpanderProvider
All Implemented Interfaces:
InputExpanderProvider

public class ZlibExpanderProvider
extends java.lang.Object
implements InputExpanderProvider


Constructor Summary
ZlibExpanderProvider()
           
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
 InputExpander get(org.bouncycastle.asn1.x509.AlgorithmIdentifier algorithm)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZlibExpanderProvider

public ZlibExpanderProvider()

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 interface InputExpanderProvider

Bouncy Castle Cryptography Library 1.46