KSslCertificateRule

Search for usage in LXR

KSslCertificateRule Class Reference

#include <ksslcertificatemanager.h>

Public Member Functions

 KSslCertificateRule (const KSslCertificateRule &other)
 
 KSslCertificateRule (const QSslCertificate &cert=QSslCertificate(), const QString &hostName=QString())
 
QSslCertificate certificate () const
 
QDateTime expiryDateTime () const
 
QList< QSslErrorfilterErrors (const QList< QSslError > &errors) const
 
QString hostName () const
 
QList< QSslError::SslError > ignoredErrors () const
 
bool isErrorIgnored (QSslError::SslError error) const
 
bool isRejected () const
 
KSslCertificateRuleoperator= (const KSslCertificateRule &other)
 
void setExpiryDateTime (const QDateTime &dateTime)
 
void setIgnoredErrors (const QList< QSslError > &errors)
 
void setIgnoredErrors (const QList< QSslError::SslError > &errors)
 
void setRejected (bool rejected)
 

Detailed Description

Certificate rule.

Definition at line 27 of file ksslcertificatemanager.h.

Constructor & Destructor Documentation

◆ KSslCertificateRule() [1/2]

KSslCertificateRule::KSslCertificateRule ( const QSslCertificate & cert = QSslCertificate(),
const QString & hostName = QString() )

Definition at line 49 of file ksslcertificatemanager.cpp.

◆ KSslCertificateRule() [2/2]

KSslCertificateRule::KSslCertificateRule ( const KSslCertificateRule & other)

Definition at line 57 of file ksslcertificatemanager.cpp.

Member Function Documentation

◆ certificate()

QSslCertificate KSslCertificateRule::certificate ( ) const

Definition at line 71 of file ksslcertificatemanager.cpp.

◆ expiryDateTime()

QDateTime KSslCertificateRule::expiryDateTime ( ) const

Definition at line 86 of file ksslcertificatemanager.cpp.

◆ filterErrors()

QList< QSslError > KSslCertificateRule::filterErrors ( const QList< QSslError > & errors) const

Filter out errors that are already ignored.

Since
5.64

Definition at line 131 of file ksslcertificatemanager.cpp.

◆ hostName()

QString KSslCertificateRule::hostName ( ) const

Definition at line 76 of file ksslcertificatemanager.cpp.

◆ ignoredErrors()

QList< QSslError::SslError > KSslCertificateRule::ignoredErrors ( ) const

Definition at line 126 of file ksslcertificatemanager.cpp.

◆ isErrorIgnored()

bool KSslCertificateRule::isErrorIgnored ( QSslError::SslError error) const

Returns whether error is ignored for this certificate.

Since
5.64

Definition at line 101 of file ksslcertificatemanager.cpp.

◆ isRejected()

bool KSslCertificateRule::isRejected ( ) const

Definition at line 96 of file ksslcertificatemanager.cpp.

◆ operator=()

KSslCertificateRule & KSslCertificateRule::operator= ( const KSslCertificateRule & other)

Definition at line 65 of file ksslcertificatemanager.cpp.

◆ setExpiryDateTime()

void KSslCertificateRule::setExpiryDateTime ( const QDateTime & dateTime)

Definition at line 81 of file ksslcertificatemanager.cpp.

◆ setIgnoredErrors() [1/2]

void KSslCertificateRule::setIgnoredErrors ( const QList< QSslError > & errors)

Set the ignored errors for this certificate.

Since
5.64

Definition at line 106 of file ksslcertificatemanager.cpp.

◆ setIgnoredErrors() [2/2]

void KSslCertificateRule::setIgnoredErrors ( const QList< QSslError::SslError > & errors)

Set the ignored errors for this certificate.

Since
5.64

Definition at line 116 of file ksslcertificatemanager.cpp.

◆ setRejected()

void KSslCertificateRule::setRejected ( bool rejected)

Definition at line 91 of file ksslcertificatemanager.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:04:58 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.