KSslError

Search for usage in LXR

#include <ktcpsocket.h>

Public Types

enum  Error {
  NoError = 0, UnknownError, InvalidCertificateAuthorityCertificate, InvalidCertificate,
  CertificateSignatureFailed, SelfSignedCertificate, ExpiredCertificate, RevokedCertificate,
  InvalidCertificatePurpose, RejectedCertificate, UntrustedCertificate, NoPeerCertificate,
  HostNameMismatch, PathLengthExceeded
}
 

Public Member Functions

 KSslError (const KSslError &other)
 
 KSslError (const QSslError &error)
 
 KSslError (KSslError::Error error=NoError, const QSslCertificate &cert=QSslCertificate())
 
QSslCertificate certificate () const
 
Error error () const
 
QString errorString () const
 
KSslErroroperator= (const KSslError &other)
 
QSslError sslError () const
 

Detailed Description

To be replaced by QSslError.

Deprecated:
since 5.65

Definition at line 103 of file ktcpsocket.h.

Constructor & Destructor Documentation

◆ KSslError()

KSslError::KSslError ( KSslError::Error  error = NoError,
const QSslCertificate cert = QSslCertificate() 
)
Deprecated:
since 5.63, use the QSslError ctor instead.

Definition at line 200 of file ktcpsocket.cpp.

Member Function Documentation

◆ sslError()

QSslError KSslError::sslError ( ) const

Returns the QSslError wrapped by this KSslError.

Since
5.63

Definition at line 241 of file ktcpsocket.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Thu Mar 23 2023 03:59:43 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.