@Override
    @SuppressWarnings("Finalize")
    protected void finalize() throws Throwable {
        try {
            long toFree = mContext;
            if (toFree != 0) {
                mContext = 0;
                NativeCrypto.X509_free(toFree, this);
            }
        } finally {
            super.finalize();
        }
    }
Returns a re-encoded TBSCertificate with the extension identified by oid removed.
common/src/main/java/org/conscrypt/OpenSSLX509Certificate.java