Example usage for org.bouncycastle.tsp.cms CMSTimeStampedDataParser close

List of usage examples for org.bouncycastle.tsp.cms CMSTimeStampedDataParser close

Introduction

In this page you can find the example usage for org.bouncycastle.tsp.cms CMSTimeStampedDataParser close.

Prototype

public void close() throws IOException 

Source Link

Document

Close the underlying data stream.

Usage

From source file:org.apache.tika.parser.crypto.TSDParser.java

License:Apache License

private void closeCMSParser(CMSTimeStampedDataParser cmsTimeStampedDataParser) {
    if (cmsTimeStampedDataParser != null) {
        try {//from  w ww  .j  a  v  a 2 s. c om
            cmsTimeStampedDataParser.close();
        } catch (Exception ex) {
            LOG.error("Error in TSDParser.closeCMSParser {}", ex.getMessage());
        }
    }
}