/***************************************************************************
                            kde_KSSLCertificateHome.h -  description
                             -------------------
    begin                : Wed Feb  6 15:12:26 2002
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Feb  6 15:12:26 2002, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This library is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU Library General Public License as       *
 *   published by the Free Software Foundation; either version 2 of the    *
 *   License, or (at your option) any later version.                       *
 *                                                                         *
 ***************************************************************************/

#ifndef KDE_KSSLCERTIFICATEHOME
#define KDE_KSSLCERTIFICATEHOME

#include <qtc/qtc_types.h>

#include <kdec/kde_types.h>

#define KSSLCERTIFICATEHOME_AuthNone	0
#define KSSLCERTIFICATEHOME_AuthSend	1
#define KSSLCERTIFICATEHOME_AuthPrompt	2
#define KSSLCERTIFICATEHOME_AuthDont	3
kde_KSSLPKCS12* kde_KSSLCertificateHome_getCertificateByHost( qt_QString * host, qt_QString * password, int* aa);
kde_KSSLPKCS12* kde_KSSLCertificateHome_getCertificateByName( qt_QString * name, qt_QString * password);
kde_KSSLPKCS12* kde_KSSLCertificateHome_getCertificateByName1( qt_QString * name);
qt_QString * kde_KSSLCertificateHome_getDefaultCertificateName( qt_QString * host, int* aa);
qt_QString * kde_KSSLCertificateHome_getDefaultCertificateName1( int* aa);
kde_KSSLPKCS12* kde_KSSLCertificateHome_getDefaultCertificate( qt_QString * password, int* aa);
kde_KSSLPKCS12* kde_KSSLCertificateHome_getDefaultCertificate1( int* aa);
int kde_KSSLCertificateHome_hasCertificateByName( qt_QString * name);
void kde_KSSLCertificateHome_setDefaultCertificate( qt_QString * name, int send, int prompt);
void kde_KSSLCertificateHome_setDefaultCertificate1( kde_KSSLPKCS12* cert, int send, int prompt);
void kde_KSSLCertificateHome_setDefaultCertificate2( qt_QString * name, qt_QString * host, int send, int prompt);
void kde_KSSLCertificateHome_setDefaultCertificate3( kde_KSSLPKCS12* cert, qt_QString * host, int send, int prompt);
int kde_KSSLCertificateHome_addCertificate( qt_QString * filename, qt_QString * password, int storePass);
void kde_KSSLCertificateHome_addCertificate1( kde_KSSLPKCS12* cert, qt_QString * passToStore);
qt_QStringList* kde_KSSLCertificateHome_getCertificateList( );

#endif
