KIO
ksslkeygen.cpp
Go to the documentation of this file.
48 return ui2->_password1->text() == ui2->_password2->text() && ui2->_password1->text().length() >= 4;
53 emit completeChanged(); // well maybe it hasn't changed, but it might have; QWizard calls isComplete() to find out
136 int rc = generateCSR("This CSR" /*FIXME */, d->page2->password(), bits, 0x10001 /* This is the traditional exponent used */);
144 rc = KMessageBox::questionYesNo(this, i18n("Do you wish to store the passphrase in your wallet file?"), QString(), KGuiItem(i18n("Store")), KGuiItem(i18n("Do Not Store")));
190 kossl->X509_NAME_add_entry_by_txt(n, (char*)LN_countryName, MBSTRING_UTF8, (unsigned char*)name.toLocal8Bit().data(), -1, -1, 0);
191 kossl->X509_NAME_add_entry_by_txt(n, (char*)LN_organizationName, MBSTRING_UTF8, (unsigned char*)name.toLocal8Bit().data(), -1, -1, 0);
192 kossl->X509_NAME_add_entry_by_txt(n, (char*)LN_organizationalUnitName, MBSTRING_UTF8, (unsigned char*)name.toLocal8Bit().data(), -1, -1, 0);
193 kossl->X509_NAME_add_entry_by_txt(n, (char*)LN_localityName, MBSTRING_UTF8, (unsigned char*)name.toLocal8Bit().data(), -1, -1, 0);
194 kossl->X509_NAME_add_entry_by_txt(n, (char*)LN_stateOrProvinceName, MBSTRING_UTF8, (unsigned char*)name.toLocal8Bit().data(), -1, -1, 0);
195 kossl->X509_NAME_add_entry_by_txt(n, (char*)LN_commonName, MBSTRING_UTF8, (unsigned char*)name.toLocal8Bit().data(), -1, -1, 0);
196 kossl->X509_NAME_add_entry_by_txt(n, (char*)LN_pkcs9_emailAddress, MBSTRING_UTF8, (unsigned char*)name.toLocal8Bit().data(), -1, -1, 0);
QString saveLocation(const char *type, const QString &suffix=QString(), bool create=true) const
QString i18n(const char *text)
Definition: ksslkeygen_p.h:27
QProgressBar * progressBar()
bool addResourceType(const char *type, const QString &relativename, bool priority=true)
void setPrefix(const QString &prefix)
int addPage(QWizardPage *page)
void completeChanged()
KStandardDirs * dirs()
static bool isEnabled()
void setSuffix(const QString &suffix)
void setValue(int value)
static Wallet * openWallet(const QString &name, WId w, OpenType ot=Synchronous)
int x() const
void setAutoRemove(bool b)
static void sorry(QWidget *parent, const QString &text, const QString &caption=QString(), Options options=Notify)
void setObjectName(const QString &name)
QWizardPage * currentPage() const
WId winId() const
void deleteLater()
static int questionYesNo(QWidget *parent, const QString &text, const QString &caption=QString(), const KGuiItem &buttonYes=KStandardGuiItem::yes(), const KGuiItem &buttonNo=KStandardGuiItem::no(), const QString &dontAskAgainName=QString(), Options options=Notify)
KSSLKeyGenWizardPage2(QWidget *parent)
Definition: ksslkeygen.cpp:37
QByteArray toLocal8Bit() const
QString fileName() const
int generateCSR(const QString &name, const QString &pass, int bits, int e=0x10001)
Generate the certificate signing request.
Definition: ksslkeygen.cpp:160
void setWindowTitle(const QString &)
int length() const
char * data()
void setLabelText(const QString &text)
FILE * fopen(const QString &pathname, const char *mode)
void show()
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
bool open()
static const QString LocalWallet()
QByteArray encodeName(const QString &fileName)
void setTitle(const QString &title)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:53 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:53 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.