Bouncy Castle Cryptography 1.46

org.bouncycastle.cms.jcajce
Class ZlibExpanderProvider

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

public class ZlibExpanderProvider
extends java.lang.Object
implements org.bouncycastle.operator.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
 org.bouncycastle.operator.InputExpander get(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 org.bouncycastle.operator.InputExpander get(AlgorithmIdentifier algorithm)
Specified by:
get in interface org.bouncycastle.operator.InputExpanderProvider

Bouncy Castle Cryptography 1.46