/************************************************************************
 * This file has been generated automatically from                      *
 *                                                                      *
 * src/gui/auth/qgsauthimportcertdialog.h                               *
 *                                                                      *
 * Do not edit manually ! Edit header and run scripts/sipify.py again   *
 ************************************************************************/





class QgsAuthImportCertDialog : QDialog
{
%Docstring(signature="appended")
Widget for importing a certificate into the authentication database
%End

%TypeHeaderCode
#include "qgsauthimportcertdialog.h"
%End
  public:
    enum CertFilter /BaseType=IntEnum/
    {
      NoFilter,
      CaFilter,
    };

    enum CertInput /BaseType=IntEnum/
    {
      AllInputs,
      FileInput,
      TextInput,
    };

    explicit QgsAuthImportCertDialog( QWidget *parent /TransferThis/ = 0, QgsAuthImportCertDialog::CertFilter filter = NoFilter, QgsAuthImportCertDialog::CertInput input = AllInputs );
%Docstring
Construct a dialog for importing certificates

:param parent: Parent widget
:param filter: Certificate type filter to apply to dialog
:param input: Type of input(s) for certificates
%End

    const QList<QSslCertificate> certificatesToImport();
%Docstring
Gets list of certificate objects to import
%End

    const QString certFileToImport();
%Docstring
Gets the file path to a certificate to import
%End

    const QString certTextToImport();
%Docstring
Gets certificate text to import
%End

    bool allowInvalidCerts();
%Docstring
Whether to allow importation of invalid certificates (so trust policy
can be overridden)
%End

    QgsAuthCertUtils::CertTrustPolicy certTrustPolicy();
%Docstring
Defined trust policy for imported certificates
%End

};

/************************************************************************
 * This file has been generated automatically from                      *
 *                                                                      *
 * src/gui/auth/qgsauthimportcertdialog.h                               *
 *                                                                      *
 * Do not edit manually ! Edit header and run scripts/sipify.py again   *
 ************************************************************************/
