00001 #include <kdialog.h>
00002 #include <klocale.h>
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #include "encryptionconfigurationdialog.h"
00013
00014 #include <qvariant.h>
00015 #include <qpushbutton.h>
00016 #include <qbuttongroup.h>
00017 #include <qlabel.h>
00018 #include <qcheckbox.h>
00019 #include <qradiobutton.h>
00020 #include <qcombobox.h>
00021 #include <qspinbox.h>
00022 #include <qgroupbox.h>
00023 #include <qlayout.h>
00024 #include <qtooltip.h>
00025 #include <qwhatsthis.h>
00026
00027
00028
00029
00030
00031 EncryptionConfigurationDialog::EncryptionConfigurationDialog( QWidget* parent, const char* name, WFlags fl )
00032 : QWidget( parent, name, fl )
00033 {
00034 if ( !name )
00035 setName( "EncryptionConfigurationDialog" );
00036 EncryptionConfigurationDialogLayout = new QVBoxLayout( this, 11, 6, "EncryptionConfigurationDialogLayout");
00037
00038 encryptMessagesBG = new QButtonGroup( this, "encryptMessagesBG" );
00039 encryptMessagesBG->setColumnLayout(0, Qt::Vertical );
00040 encryptMessagesBG->layout()->setSpacing( 6 );
00041 encryptMessagesBG->layout()->setMargin( 11 );
00042 encryptMessagesBGLayout = new QGridLayout( encryptMessagesBG->layout() );
00043 encryptMessagesBGLayout->setAlignment( Qt::AlignTop );
00044
00045 encryptionAlgorithmLA = new QLabel( encryptMessagesBG, "encryptionAlgorithmLA" );
00046
00047 encryptMessagesBGLayout->addWidget( encryptionAlgorithmLA, 0, 0 );
00048
00049 storeEncryptedCB = new QCheckBox( encryptMessagesBG, "storeEncryptedCB" );
00050 storeEncryptedCB->setChecked( FALSE );
00051
00052 encryptMessagesBGLayout->addMultiCellWidget( storeEncryptedCB, 4, 4, 0, 1 );
00053
00054 encryptAllPartsRB = new QRadioButton( encryptMessagesBG, "encryptAllPartsRB" );
00055 encryptAllPartsRB->setChecked( TRUE );
00056
00057 encryptMessagesBGLayout->addMultiCellWidget( encryptAllPartsRB, 1, 1, 0, 1 );
00058
00059 askEachPartRB = new QRadioButton( encryptMessagesBG, "askEachPartRB" );
00060
00061 encryptMessagesBGLayout->addMultiCellWidget( askEachPartRB, 2, 2, 0, 1 );
00062
00063 dontEncryptRB = new QRadioButton( encryptMessagesBG, "dontEncryptRB" );
00064
00065 encryptMessagesBGLayout->addMultiCellWidget( dontEncryptRB, 3, 3, 0, 1 );
00066
00067 encryptionAlgorithmCO = new QComboBox( FALSE, encryptMessagesBG, "encryptionAlgorithmCO" );
00068
00069 encryptMessagesBGLayout->addWidget( encryptionAlgorithmCO, 0, 1 );
00070 Spacer19 = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum );
00071 encryptMessagesBGLayout->addItem( Spacer19, 0, 2 );
00072 EncryptionConfigurationDialogLayout->addWidget( encryptMessagesBG );
00073
00074 certBG = new QButtonGroup( this, "certBG" );
00075 certBG->setColumnLayout(0, Qt::Vertical );
00076 certBG->layout()->setSpacing( 6 );
00077 certBG->layout()->setMargin( 11 );
00078 certBGLayout = new QVBoxLayout( certBG->layout() );
00079 certBGLayout->setAlignment( Qt::AlignTop );
00080
00081 certificatePathCheckBG = new QButtonGroup( certBG, "certificatePathCheckBG" );
00082 certificatePathCheckBG->setFrameShape( QButtonGroup::NoFrame );
00083 certificatePathCheckBG->setColumnLayout(0, Qt::Vertical );
00084 certificatePathCheckBG->layout()->setSpacing( 6 );
00085 certificatePathCheckBG->layout()->setMargin( 0 );
00086 certificatePathCheckBGLayout = new QGridLayout( certificatePathCheckBG->layout() );
00087 certificatePathCheckBGLayout->setAlignment( Qt::AlignTop );
00088 Spacer1_2_2 = new QSpacerItem( 20, 20, QSizePolicy::Fixed, QSizePolicy::Minimum );
00089 certificatePathCheckBGLayout->addMultiCell( Spacer1_2_2, 1, 2, 0, 0 );
00090
00091 pathMayEndLocallyCB = new QRadioButton( certificatePathCheckBG, "pathMayEndLocallyCB" );
00092
00093 certificatePathCheckBGLayout->addWidget( pathMayEndLocallyCB, 2, 1 );
00094
00095 alwaysCheckRootRB = new QRadioButton( certificatePathCheckBG, "alwaysCheckRootRB" );
00096 alwaysCheckRootRB->setChecked( TRUE );
00097
00098 certificatePathCheckBGLayout->addWidget( alwaysCheckRootRB, 1, 1 );
00099
00100 checkCertificatePathCB = new QCheckBox( certificatePathCheckBG, "checkCertificatePathCB" );
00101 checkCertificatePathCB->setChecked( TRUE );
00102
00103 certificatePathCheckBGLayout->addMultiCellWidget( checkCertificatePathCB, 0, 0, 0, 1 );
00104 certBGLayout->addWidget( certificatePathCheckBG );
00105
00106 crlBG = new QButtonGroup( certBG, "crlBG" );
00107 crlBG->setFrameShape( QButtonGroup::NoFrame );
00108 crlBG->setColumnLayout(0, Qt::Vertical );
00109 crlBG->layout()->setSpacing( 6 );
00110 crlBG->layout()->setMargin( 0 );
00111 crlBGLayout = new QGridLayout( crlBG->layout() );
00112 crlBGLayout->setAlignment( Qt::AlignTop );
00113
00114 useCRLsCB = new QCheckBox( crlBG, "useCRLsCB" );
00115 useCRLsCB->setChecked( TRUE );
00116
00117 crlBGLayout->addMultiCellWidget( useCRLsCB, 0, 0, 0, 1 );
00118
00119 warnCRLExpireCB = new QCheckBox( crlBG, "warnCRLExpireCB" );
00120 warnCRLExpireCB->setChecked( TRUE );
00121
00122 crlBGLayout->addWidget( warnCRLExpireCB, 1, 1 );
00123
00124 warnCRLExpireSB = new QSpinBox( crlBG, "warnCRLExpireSB" );
00125 warnCRLExpireSB->setMaxValue( 999 );
00126 warnCRLExpireSB->setValue( 7 );
00127
00128 crlBGLayout->addWidget( warnCRLExpireSB, 1, 2 );
00129 Spacer1_2 = new QSpacerItem( 20, 20, QSizePolicy::Fixed, QSizePolicy::Minimum );
00130 crlBGLayout->addItem( Spacer1_2, 1, 0 );
00131 Spacer8 = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum );
00132 crlBGLayout->addItem( Spacer8, 1, 3 );
00133 certBGLayout->addWidget( crlBG );
00134
00135 alwaysEncryptToSelfCB = new QCheckBox( certBG, "alwaysEncryptToSelfCB" );
00136 alwaysEncryptToSelfCB->setChecked( TRUE );
00137 certBGLayout->addWidget( alwaysEncryptToSelfCB );
00138 EncryptionConfigurationDialogLayout->addWidget( certBG );
00139
00140 encryptionSettingsBG = new QGroupBox( this, "encryptionSettingsBG" );
00141 encryptionSettingsBG->setColumnLayout(0, Qt::Vertical );
00142 encryptionSettingsBG->layout()->setSpacing( 6 );
00143 encryptionSettingsBG->layout()->setMargin( 11 );
00144 encryptionSettingsBGLayout = new QGridLayout( encryptionSettingsBG->layout() );
00145 encryptionSettingsBGLayout->setAlignment( Qt::AlignTop );
00146
00147 warnUnencryptedCB = new QCheckBox( encryptionSettingsBG, "warnUnencryptedCB" );
00148 warnUnencryptedCB->setChecked( TRUE );
00149
00150 encryptionSettingsBGLayout->addMultiCellWidget( warnUnencryptedCB, 0, 0, 0, 2 );
00151
00152 warnChainCertificateExpiresSB = new QSpinBox( encryptionSettingsBG, "warnChainCertificateExpiresSB" );
00153 warnChainCertificateExpiresSB->setMaxValue( 999 );
00154 warnChainCertificateExpiresSB->setValue( 14 );
00155
00156 encryptionSettingsBGLayout->addMultiCellWidget( warnChainCertificateExpiresSB, 4, 4, 1, 2 );
00157
00158 warnChainCertificateExpiresCB = new QCheckBox( encryptionSettingsBG, "warnChainCertificateExpiresCB" );
00159 warnChainCertificateExpiresCB->setChecked( TRUE );
00160
00161 encryptionSettingsBGLayout->addWidget( warnChainCertificateExpiresCB, 4, 0 );
00162
00163 warnReceiverCertificateExpiresSB = new QSpinBox( encryptionSettingsBG, "warnReceiverCertificateExpiresSB" );
00164 warnReceiverCertificateExpiresSB->setMaxValue( 999 );
00165 warnReceiverCertificateExpiresSB->setValue( 14 );
00166
00167 encryptionSettingsBGLayout->addMultiCellWidget( warnReceiverCertificateExpiresSB, 3, 3, 1, 2 );
00168
00169 warnReceiverCertificateExpiresCB = new QCheckBox( encryptionSettingsBG, "warnReceiverCertificateExpiresCB" );
00170 warnReceiverCertificateExpiresCB->setChecked( TRUE );
00171
00172 encryptionSettingsBGLayout->addWidget( warnReceiverCertificateExpiresCB, 3, 0 );
00173 Spacer7 = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum );
00174 encryptionSettingsBGLayout->addMultiCell( Spacer7, 3, 4, 3, 3 );
00175
00176 warnReceiverNotInCertificateCB = new QCheckBox( encryptionSettingsBG, "warnReceiverNotInCertificateCB" );
00177 warnReceiverNotInCertificateCB->setChecked( TRUE );
00178
00179 encryptionSettingsBGLayout->addMultiCellWidget( warnReceiverNotInCertificateCB, 1, 2, 0, 1 );
00180 EncryptionConfigurationDialogLayout->addWidget( encryptionSettingsBG );
00181 Spacer17 = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding );
00182 EncryptionConfigurationDialogLayout->addItem( Spacer17 );
00183 languageChange();
00184 resize( QSize(445, 481).expandedTo(minimumSizeHint()) );
00185 clearWState( WState_Polished );
00186
00187
00188 connect( warnReceiverCertificateExpiresCB, SIGNAL( toggled(bool) ), warnReceiverCertificateExpiresSB, SLOT( setEnabled(bool) ) );
00189 connect( warnChainCertificateExpiresCB, SIGNAL( toggled(bool) ), warnChainCertificateExpiresSB, SLOT( setEnabled(bool) ) );
00190 connect( checkCertificatePathCB, SIGNAL( toggled(bool) ), alwaysCheckRootRB, SLOT( setEnabled(bool) ) );
00191 connect( checkCertificatePathCB, SIGNAL( toggled(bool) ), pathMayEndLocallyCB, SLOT( setEnabled(bool) ) );
00192 connect( useCRLsCB, SIGNAL( toggled(bool) ), warnCRLExpireCB, SLOT( setEnabled(bool) ) );
00193 connect( useCRLsCB, SIGNAL( toggled(bool) ), warnCRLExpireSB, SLOT( setEnabled(bool) ) );
00194 connect( warnCRLExpireCB, SIGNAL( toggled(bool) ), warnCRLExpireSB, SLOT( setEnabled(bool) ) );
00195
00196
00197 setTabOrder( encryptAllPartsRB, askEachPartRB );
00198 setTabOrder( askEachPartRB, dontEncryptRB );
00199 setTabOrder( dontEncryptRB, warnUnencryptedCB );
00200 setTabOrder( warnUnencryptedCB, useCRLsCB );
00201 setTabOrder( useCRLsCB, warnCRLExpireCB );
00202 setTabOrder( warnCRLExpireCB, warnCRLExpireSB );
00203 setTabOrder( warnCRLExpireSB, encryptionAlgorithmCO );
00204 setTabOrder( encryptionAlgorithmCO, warnReceiverCertificateExpiresCB );
00205 setTabOrder( warnReceiverCertificateExpiresCB, warnReceiverCertificateExpiresSB );
00206 setTabOrder( warnReceiverCertificateExpiresSB, warnChainCertificateExpiresCB );
00207 setTabOrder( warnChainCertificateExpiresCB, warnChainCertificateExpiresSB );
00208 setTabOrder( warnChainCertificateExpiresSB, warnReceiverNotInCertificateCB );
00209 setTabOrder( warnReceiverNotInCertificateCB, storeEncryptedCB );
00210 setTabOrder( storeEncryptedCB, checkCertificatePathCB );
00211 setTabOrder( checkCertificatePathCB, alwaysCheckRootRB );
00212 setTabOrder( alwaysCheckRootRB, pathMayEndLocallyCB );
00213
00214
00215 encryptionAlgorithmLA->setBuddy( encryptionAlgorithmCO );
00216 }
00217
00218
00219
00220
00221 EncryptionConfigurationDialog::~EncryptionConfigurationDialog()
00222 {
00223
00224 }
00225
00226
00227
00228
00229
00230 void EncryptionConfigurationDialog::languageChange()
00231 {
00232 setCaption( tr2i18n( "Encryption Configuration" ) );
00233 encryptMessagesBG->setTitle( tr2i18n( "Encryption" ) );
00234 encryptionAlgorithmLA->setText( tr2i18n( "Encryption &algorithm:" ) );
00235 storeEncryptedCB->setText( tr2i18n( "Store sent messages &encrypted" ) );
00236 QToolTip::add( storeEncryptedCB, tr2i18n( "Check to store messages encrypted " ) );
00237 QWhatsThis::add( storeEncryptedCB, tr2i18n( "<qt>\n"
00238 "<h1>Store Messages Encrypted</h1>\n"
00239 "When this box is checked, sent messages are stored encrypted like they were sent. This is not recommended, as you will not be able to read the messages any longer if a necessary certificate expires.\n"
00240 "<p>\n"
00241 "However, there may be local rules that require you to turn this option on. When in doubt, check with your local administrator.\n"
00242 "</qt>" ) );
00243 encryptAllPartsRB->setText( tr2i18n( "Encr&ypt all message parts" ) );
00244 QToolTip::add( encryptAllPartsRB, tr2i18n( "Check to have all message parts encrypted by default" ) );
00245 QWhatsThis::add( encryptAllPartsRB, tr2i18n( "<qt>\n"
00246 "<h1>Encrypt All Message Parts By Default</h1>\n"
00247 "If this option is selected, all parts of a message (i.e. the main message body and all attachments) are encrypted by default.\n"
00248 "<p>\n"
00249 "This is a default setting, you can still override it for each individual message.\n"
00250 "</qt>" ) );
00251 askEachPartRB->setText( tr2i18n( "Ask &before encrypting each part" ) );
00252 QToolTip::add( askEachPartRB, tr2i18n( "Check to be asked for each part whether to encrypt" ) );
00253 QWhatsThis::add( askEachPartRB, tr2i18n( "<qt>\n"
00254 "<h1>Ask Before Encrypting Each Part</h1>\n"
00255 "When this option is selected, you will be asked for each part of the message (i.e. the main message body as well as all attachments) individually whether you want the part to be encrypted.\n"
00256 "</qt>" ) );
00257 dontEncryptRB->setText( tr2i18n( "&Do not encrypt messages" ) );
00258 QToolTip::add( dontEncryptRB, tr2i18n( "Check for not encrypting a message by default" ) );
00259 QWhatsThis::add( dontEncryptRB, tr2i18n( "<qt>\n"
00260 "<h1>Do Not Encrypt Messages</h1>\n"
00261 "If this option is selected, messages are not encrypted by default.\n"
00262 "<p>\n"
00263 "This is a default setting, you can still override it for each individual setting.\n"
00264 "</qt>" ) );
00265 encryptionAlgorithmCO->clear();
00266 encryptionAlgorithmCO->insertItem( tr2i18n( "Triple-DES" ) );
00267 QToolTip::add( encryptionAlgorithmCO, tr2i18n( "Selects the encryption algorithm" ) );
00268 QWhatsThis::add( encryptionAlgorithmCO, tr2i18n( "<qt>\n"
00269 "<h1>Encryption Algorithm</h1>\n"
00270 "An algorithm is a description for the computer on how it should perform a certain task. The encryption algorithm describes how the computer applies your recipient's key to your message so that only the intended receiver can read the message.\n"
00271 "<p>\n"
00272 "The selection of a certain encryption algorithm determines how easy or how difficult it is to intercept and read a message. However, all algorithms provided in the SPHINX environment are considered to be very safe. Generally, the default will work just fine here.\n"
00273 "<p>\n"
00274 "This setting is a default, you can override it for each individual message.\n"
00275 "</qt>" ) );
00276 certBG->setTitle( tr2i18n( "Certificates" ) );
00277 certificatePathCheckBG->setTitle( QString::null );
00278 pathMayEndLocallyCB->setText( tr2i18n( "Check can end with locally sa&ved certificate" ) );
00279 QToolTip::add( pathMayEndLocallyCB, tr2i18n( "Check to end with locally saved certificate." ) );
00280 QWhatsThis::add( pathMayEndLocallyCB, tr2i18n( "<qt>\n"
00281 "<h1>Certificate Check Can End With Locally Saved Certificate</h1>\n"
00282 "If this option is checked, the check of the certificate chain can end with a locally saved certificate.\n"
00283 "<p>\n"
00284 "Locally saved certificates are your own certificates as well as the certificates of communication partners and certification authorities (CAs).\n"
00285 "</h1>" ) );
00286 alwaysCheckRootRB->setText( tr2i18n( "Always c&heck to root certificate" ) );
00287 QToolTip::add( alwaysCheckRootRB, tr2i18n( "Check here to check up to the root certificate" ) );
00288 QWhatsThis::add( alwaysCheckRootRB, tr2i18n( "<qt>\n"
00289 "<h1>Always Check Certificate Path To Root Certificate</h1>\n"
00290 "If this option is turned on, the certificate path belonging to the receiver's certificate will always be checked all the way to the root certificate.\n"
00291 "</qt>" ) );
00292 checkCertificatePathCB->setText( tr2i18n( "Check certificate &path" ) );
00293 QToolTip::add( checkCertificatePathCB, tr2i18n( "Check here to have the whole certificate path checked" ) );
00294 QWhatsThis::add( checkCertificatePathCB, tr2i18n( "<qt>\n"
00295 "<h1>Check Certificate Path</h1>\n"
00296 "If this option is turned on, the whole path of the receiver's certificate up to the root will be checked.\n"
00297 "<p>\n"
00298 "Note that it is not possible to turn off checking the receiver's certificate itself.\n"
00299 "</qt>" ) );
00300 crlBG->setTitle( QString::null );
00301 useCRLsCB->setText( tr2i18n( "&Use certificate revocation lists (CRLs)" ) );
00302 QToolTip::add( useCRLsCB, tr2i18n( "Check to use CRLs" ) );
00303 QWhatsThis::add( useCRLsCB, tr2i18n( "<qt>\n"
00304 "<h1>Use Certificate Revocation Lists (CRLs)</h1>\n"
00305 "A certificate revocation list contains certificates that have been withdrawn and should not be used for encryption purposes any longer. A user may wish to have his or her certificate revoked because he or she suspects that the certificate's integrity has been compromised (e.g. somebody has guessed the PIN).\n"
00306 "<p>\n"
00307 "It is recommended to use CRLs for maximum security. In the configuration dialog for certificate and CRL management, you can select where to retrieve the CRLs from.\n"
00308 "</qt>" ) );
00309 warnCRLExpireCB->setText( tr2i18n( "Warn if CRL e&xpires in less than:" ) );
00310 QToolTip::add( warnCRLExpireCB, tr2i18n( "Check to be warned if a CRL expires in the near future" ) );
00311 QWhatsThis::add( warnCRLExpireCB, tr2i18n( "<qt>\n"
00312 "<h1>Warn If CRL Expires In The Near Future</h1>\n"
00313 "If this box is checked, you will be warned if one of the CRLs you are using is about to expire in the near future.\n"
00314 "</qt>" ) );
00315 warnCRLExpireSB->setSuffix( tr2i18n( " days" ) );
00316 QToolTip::add( warnCRLExpireSB, tr2i18n( "Number of days before warning" ) );
00317 QWhatsThis::add( warnCRLExpireSB, tr2i18n( "<qt>\n"
00318 "<h1>Warn If CRL Expires In The Near Future</h1>\n"
00319 "In this field you can specify how soon before a CRL expires you are warned about this expiry.\n"
00320 "<p>\n"
00321 "The recommended setting for the SPHINX environment is 7 days.\n"
00322 "</qt>" ) );
00323 alwaysEncryptToSelfCB->setText( tr2i18n( "Always encrypt &to self" ) );
00324 QToolTip::add( alwaysEncryptToSelfCB, tr2i18n( "Check to have encrypted messages also encrypted using your own key." ) );
00325 QWhatsThis::add( alwaysEncryptToSelfCB, tr2i18n( "<qt>\n"
00326 "<h1>Always encrypt to self</h1>\n"
00327 "If this box is checked, encrypted messages sent by you will also be encrypted using your own key.\n"
00328 "<p>\n"
00329 "It is recommended to leave this option turned on to enable you to read the messages you have sent.\n"
00330 "</qt>" ) );
00331 encryptionSettingsBG->setTitle( tr2i18n( "Warnings" ) );
00332 warnUnencryptedCB->setText( tr2i18n( "&Warn when trying to send unencrypted messages" ) );
00333 QToolTip::add( warnUnencryptedCB, tr2i18n( "Check to be warned when sending unencrypted messages." ) );
00334 QWhatsThis::add( warnUnencryptedCB, tr2i18n( "<qt>\n"
00335 "<h1>Warn When Trying To Send Unencrypted Messages</h1>\n"
00336 "If this box is checked, you will be warned when you try to send parts of or the whole message unencrypted.\n"
00337 "<p>\n"
00338 "It is recommended to leave this option turned on for maximum integrity.\n"
00339 "</qt>" ) );
00340 warnChainCertificateExpiresSB->setSuffix( tr2i18n( " days" ) );
00341 QToolTip::add( warnChainCertificateExpiresSB, tr2i18n( "Select the number of days here" ) );
00342 QWhatsThis::add( warnChainCertificateExpiresSB, tr2i18n( "<qt>\n"
00343 "<h1>Warn If A Certificate In The Chain Expires</h1>\n"
00344 "Select the minimum number of days all certificates in the chain should be valid without issuing a warning.\n"
00345 "<p>\n"
00346 "The recommended SPHINX setting is 14 days.\n"
00347 "</qt>" ) );
00348 warnChainCertificateExpiresCB->setText( tr2i18n( "Warn if a certificate in &the chain expires in less than:" ) );
00349 QToolTip::add( warnChainCertificateExpiresCB, tr2i18n( "Check to be warned if the certificate expires soon" ) );
00350 QWhatsThis::add( warnChainCertificateExpiresCB, tr2i18n( "<qt>\n"
00351 "<h1>Warn If Certificate Expires</h1>\n"
00352 "If this option is checked, then you will be warned when trying to use a certificate for encrypting that expires within the specified amount of days.\n"
00353 "<p>\n"
00354 "It is recommended to keep this option turned on to avoid using certificates that expire in the near future.\n"
00355 "</qt>" ) );
00356 warnReceiverCertificateExpiresSB->setSuffix( tr2i18n( " days" ) );
00357 QToolTip::add( warnReceiverCertificateExpiresSB, tr2i18n( "Select the number of days here" ) );
00358 QWhatsThis::add( warnReceiverCertificateExpiresSB, tr2i18n( "<qt>\n"
00359 "<h1>Warn If Encryption Certificate Expires</h1>\n"
00360 "Select the minimum number of days the encryption certificate should be valid without issuing a warning.\n"
00361 "<p>\n"
00362 "The recommended SPHINX setting is 14 days.\n"
00363 "</qt>" ) );
00364 warnReceiverCertificateExpiresCB->setText( tr2i18n( "Warn if &receiver certificate expires in less than:" ) );
00365 QToolTip::add( warnReceiverCertificateExpiresCB, tr2i18n( "Check to be warned if the certificate expires soon" ) );
00366 QWhatsThis::add( warnReceiverCertificateExpiresCB, tr2i18n( "<qt>\n"
00367 "<h1>Warn If Certificate Expires</h1>\n"
00368 "If this option is checked, then you will be warned when trying to use a certificate for encrypting that expires within the specified amount of days.\n"
00369 "<p>\n"
00370 "It is recommended to keep this option turned on to avoid using certificates that expire in the near future.\n"
00371 "</qt>" ) );
00372 warnReceiverNotInCertificateCB->setText( tr2i18n( "Warn if receiver's email address is ¬ in certificate" ) );
00373 QToolTip::add( warnReceiverNotInCertificateCB, tr2i18n( "Check to be warned if the address is not in the certificate" ) );
00374 QWhatsThis::add( warnReceiverNotInCertificateCB, tr2i18n( "<qt>\n"
00375 "<h1>Warn If Receiver's Email Address Is Not In Certificate</h1>\n"
00376 "If this option is checked, a warning is issued if the email address of the receiver is not contained in the certificate used for encrypting.\n"
00377 "<p>\n"
00378 "It is recommended to leave this option turned on for maximum security.\n"
00379 "</qt>" ) );
00380 }
00381
00382 #include "encryptionconfigurationdialog.moc"