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< KSslErrorfilterErrors (const QList< KSslError > &errors) const
 
QList< KSslError::Error > filterErrors (const QList< KSslError::Error > &errors) const
 
QList< QSslErrorfilterErrors (const QList< QSslError > &errors) const
 
QString hostName () const
 
QList< KSslError::Error > ignoredErrors () const
 
bool isErrorIgnored (KSslError::Error error) const
 
bool isErrorIgnored (QSslError::SslError error) const
 
bool isRejected () const
 
KSslCertificateRuleoperator= (const KSslCertificateRule &other)
 
void setExpiryDateTime (const QDateTime &dateTime)
 
void setIgnoredErrors (const QList< KSslError > &errors)
 
void setIgnoredErrors (const QList< KSslError::Error > &errors)
 
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.

Member Function Documentation

◆ filterErrors() [1/3]

QList< KSslError > KSslCertificateRule::filterErrors ( const QList< KSslError > &  errors) const
Deprecated:
since 5.64, use the QSslError variant.

Definition at line 189 of file ksslcertificatemanager.cpp.

◆ filterErrors() [2/3]

QList< KSslError::Error > KSslCertificateRule::filterErrors ( const QList< KSslError::Error > &  errors) const
Deprecated:
since 5.64, use the QSslError variant.

Definition at line 176 of file ksslcertificatemanager.cpp.

◆ filterErrors() [3/3]

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

Filter out errors that are already ignored.

Since
5.64

Definition at line 201 of file ksslcertificatemanager.cpp.

◆ isErrorIgnored() [1/2]

bool KSslCertificateRule::isErrorIgnored ( KSslError::Error  error) const
Deprecated:
since 5.64, use the QSslError variant.

Definition at line 102 of file ksslcertificatemanager.cpp.

◆ isErrorIgnored() [2/2]

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

Returns whether error is ignored for this certificate.

Since
5.64

Definition at line 108 of file ksslcertificatemanager.cpp.

◆ setIgnoredErrors() [1/4]

void KSslCertificateRule::setIgnoredErrors ( const QList< KSslError > &  errors)
Deprecated:
since 5.64, use the QSslError variant.

Definition at line 128 of file ksslcertificatemanager.cpp.

◆ setIgnoredErrors() [2/4]

void KSslCertificateRule::setIgnoredErrors ( const QList< KSslError::Error > &  errors)
Deprecated:
since 5.64, use the QSslError variant.

Definition at line 114 of file ksslcertificatemanager.cpp.

◆ setIgnoredErrors() [3/4]

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

Set the ignored errors for this certificate.

Since
5.64

Definition at line 139 of file ksslcertificatemanager.cpp.

◆ setIgnoredErrors() [4/4]

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

Set the ignored errors for this certificate.

Since
5.64

Definition at line 149 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-2022 The KDE developers.
Generated on Tue Dec 6 2022 03:56:08 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.