List of usage examples for org.bouncycastle.cms.jcajce ZlibExpanderProvider ZlibExpanderProvider
public ZlibExpanderProvider(long limit)
From source file:mitm.common.security.cms.CMSCompressedDataAdapterImpl.java
License:Open Source License
@Override public byte[] getContent() throws CMSException { return compressedData.getContent(new ZlibExpanderProvider(limit)); }
From source file:mitm.common.security.cms.CMSCompressedDataParserAdapterImpl.java
License:Open Source License
@Override public InputStream getContentStream() throws CMSException { return compressedData.getContent(new ZlibExpanderProvider(limit)).getContentStream(); }