Class CRCingArmoredInputStreamWrapper

  • All Implemented Interfaces:
    Closeable, AutoCloseable

    public class CRCingArmoredInputStreamWrapper
    extends org.bouncycastle.bcpg.ArmoredInputStream
    Utility class that causes read(bytes, offset, length) to properly throw exceptions caused by faulty CRC checksums. Furthermore, this class swallows exceptions from BC's ArmoredInputStream that are caused by missing CRC checksums.