QSslError Class Reference

QSslError Class Reference

#include <qsslerror.h>

Class Description

Definition at line 58 of file qsslerror.h.

Public Types

enum  SslError {
  NoError, UnableToGetIssuerCertificate, UnableToDecryptCertificateSignature, UnableToDecodeIssuerPublicKey,
  CertificateSignatureFailed, CertificateNotYetValid, CertificateExpired, InvalidNotBeforeField,
  InvalidNotAfterField, SelfSignedCertificate, SelfSignedCertificateInChain, UnableToGetLocalIssuerCertificate,
  UnableToVerifyFirstCertificate, CertificateRevoked, InvalidCaCertificate, PathLengthExceeded,
  InvalidPurpose, CertificateUntrusted, CertificateRejected, SubjectIssuerMismatch,
  AuthorityIssuerSerialNumberMismatch, NoPeerCertificate, HostNameMismatch, NoSslSupport,
  CertificateBlacklisted, UnspecifiedError = -1
}
 

Public Member Functions

 QSslError ()
 
 QSslError (SslError error)
 
 QSslError (SslError error, const QSslCertificate &certificate)
 
 QSslError (const QSslError &other)
 
 ~QSslError ()
 
QSslErroroperator= (const QSslError &other)
 
bool operator== (const QSslError &other) const
 
bool operator!= (const QSslError &other) const
 
SslError error () const
 
QString errorString () const
 
QSslCertificate certificate () const
 

Member Enumeration Documentation

enum SslError
Enumerator
NoError 
UnableToGetIssuerCertificate 
UnableToDecryptCertificateSignature 
UnableToDecodeIssuerPublicKey 
CertificateSignatureFailed 
CertificateNotYetValid 
CertificateExpired 
InvalidNotBeforeField 
InvalidNotAfterField 
SelfSignedCertificate 
SelfSignedCertificateInChain 
UnableToGetLocalIssuerCertificate 
UnableToVerifyFirstCertificate 
CertificateRevoked 
InvalidCaCertificate 
PathLengthExceeded 
InvalidPurpose 
CertificateUntrusted 
CertificateRejected 
SubjectIssuerMismatch 
AuthorityIssuerSerialNumberMismatch 
NoPeerCertificate 
HostNameMismatch 
NoSslSupport 
CertificateBlacklisted 
UnspecifiedError 

Definition at line 61 of file qsslerror.h.

61  {
62  NoError,
81  SubjectIssuerMismatch, // hostname mismatch?
87  UnspecifiedError = -1
88  };

Constructor & Destructor Documentation

QSslError ( )
QSslError ( SslError  error)
QSslError ( SslError  error,
const QSslCertificate certificate 
)
QSslError ( const QSslError other)
~QSslError ( )

Member Function Documentation

QSslError& operator= ( const QSslError other)
bool operator== ( const QSslError other) const
bool operator!= ( const QSslError other) const
inline

Definition at line 101 of file qsslerror.h.

102  { return !(*this == other); }
SslError error ( ) const
QString errorString ( ) const
QSslCertificate certificate ( ) const

The documentation for this class was generated from the following file: