content: /*
   * This file is part of PCAPdroid.
   *
   * PCAPdroid is free software: you can redistribute it and/or modify
   * it under the terms of the GNU General Public License as published by
   * the Free Software Foundation, either version 3 of the License, or
   * (at your option) any later version.
   *
   * PCAPdroid is distributed in the hope that it will be useful,
   * but WITHOUT ANY WARRANTY; without even the implied warranty of
   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   * GNU General Public License for more details.
   *
   * You should have received a copy of the GNU General Public License
   * along with PCAPdroid.  If not, see <http://www.gnu.org/licenses/>.
   *
   * Copyright 2020-21 - Emanuele Faranda
   */
  
  package com.antest1.kcanotify.remote_capture.interfaces;
  
  import org.jetbrains.annotations.Nullable;
  
  public interface MitmListener {
      // NOTE: for fragments, this may be called when their context is null
      void onMitmGetCaCertificateResult(@Nullable String ca_pem);
  
      void onMitmServiceConnect();
      void onMitmServiceDisconnect();
  }
  