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::SslErrorignoredErrors () 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 48 of file ksslcertificatemanager.cpp.

◆ KSslCertificateRule() [2/2]

KSslCertificateRule::KSslCertificateRule ( const KSslCertificateRule & other)

Definition at line 56 of file ksslcertificatemanager.cpp.

Member Function Documentation

◆ certificate()

QSslCertificate KSslCertificateRule::certificate ( ) const

Definition at line 70 of file ksslcertificatemanager.cpp.

◆ expiryDateTime()

QDateTime KSslCertificateRule::expiryDateTime ( ) const

Definition at line 85 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 130 of file ksslcertificatemanager.cpp.

◆ hostName()

QString KSslCertificateRule::hostName ( ) const

Definition at line 75 of file ksslcertificatemanager.cpp.

◆ ignoredErrors()

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

Definition at line 125 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 100 of file ksslcertificatemanager.cpp.

◆ isRejected()

bool KSslCertificateRule::isRejected ( ) const

Definition at line 95 of file ksslcertificatemanager.cpp.

◆ operator=()

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

Definition at line 64 of file ksslcertificatemanager.cpp.

◆ setExpiryDateTime()

void KSslCertificateRule::setExpiryDateTime ( const QDateTime & dateTime)

Definition at line 80 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 105 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 115 of file ksslcertificatemanager.cpp.

◆ setRejected()

void KSslCertificateRule::setRejected ( bool rejected)

Definition at line 90 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 Sun Feb 25 2024 18:45:23 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.