public byte[] getTBSCertificateWithoutExtension(String oid) {
        return NativeCrypto.get_X509_tbs_cert_without_ext(mContext, this, oid);
    }
Returns a re-encoded TBSCertificate with the extension identified by oid removed.
common/src/main/java/org/conscrypt/OpenSSLX509Certificate.java