Code example for SignatureException

0
sigOut.write(b);
        } 
        catch (IOException e)
        {             // TODO: we really should get rid of signature exception next.... 
            throw new SignatureException(e.getMessage());
        } 
    } 
 
    private void blockUpdate(byte[] block, int off, int len)
        throws SignatureException 
    { 
        try 
        { 
            sigOut.write(block, off, len);
        } 
        catch (IOException e)
        { 
            throw new IllegalStateException(e.getMessage());
        } 
Connect your IDE to all the code out there  Get Codota for Java