Qyoto  4.0.5
Qyoto is a C# language binding for Qt
 All Classes Namespaces Functions Variables Typedefs Enumerations Properties
QtNetwork.QSslError Class Reference

The QSslError class provides an SSL error. More...

Inheritance diagram for QtNetwork.QSslError:
Collaboration diagram for QtNetwork.QSslError:

Public Types

enum  SslError {
  AuthorityIssuerSerialNumberMismatch = 20, CertificateBlacklisted = 24, CertificateExpired = 6, CertificateNotYetValid = 5,
  CertificateRejected = 18, CertificateRevoked = 13, CertificateSignatureFailed = 4, CertificateUntrusted = 17,
  HostNameMismatch = 22, InvalidCaCertificate = 14, InvalidNotAfterField = 8, InvalidNotBeforeField = 7,
  InvalidPurpose = 16, NoError = 0, NoPeerCertificate = 21, NoSslSupport = 23,
  PathLengthExceeded = 15, SelfSignedCertificate = 9, SelfSignedCertificateInChain = 10, SubjectIssuerMismatch = 19,
  UnableToDecodeIssuerPublicKey = 3, UnableToDecryptCertificateSignature = 2, UnableToGetIssuerCertificate = 1, UnableToGetLocalIssuerCertificate = 11,
  UnableToVerifyFirstCertificate = 12, UnspecifiedError = -1
}
  More...
 

Public Member Functions

override bool Equals (object o)
 
override int GetHashCode ()
 
 QSslError ()
 
 
 QSslError (QSslError other)
 
 
 QSslError (QSslError.SslError error)
 
 
 QSslError (QSslError.SslError error, QSslCertificate certificate)
 
 
virtual void CreateProxy ()
 
new QSslCertificate Certificate ()
 
 
new QSslError.SslError Error ()
 
 
new string ErrorString ()
 
 
new void Dispose ()
 

Static Public Member Functions

static bool operator!= (QSslError arg1, QSslError arg2)
 
 
static bool operator== (QSslError arg1, QSslError arg2)
 
 

Protected Member Functions

 QSslError (System.Type dummy)
 

Protected Attributes

SmokeInvocation interceptor
 

Properties

virtual System.IntPtr SmokeObject [get, set]
 

Detailed Description

The QSslError class provides an SSL error.

QSslError provides a simple API for managing errors during QSslSocket's SSL handshake.

See also QSslSocket, QSslCertificate, and QSslCipher.

Member Enumeration Documentation

Describes all recognized errors that can occur during an SSL handshake.

See also QSslError::errorString().

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

Constructor & Destructor Documentation

QtNetwork.QSslError.QSslError ( System.Type  dummy)
protected
QtNetwork.QSslError.QSslError ( )

Constructs a QSslError object with no error and default certificate.

QtNetwork.QSslError.QSslError ( QSslError  other)

Constructs an identical copy of other.

QtNetwork.QSslError.QSslError ( QSslError.SslError  error)

Constructs a QSslError object. The argument specifies the error that occurred.

QtNetwork.QSslError.QSslError ( QSslError.SslError  error,
QSslCertificate  certificate 
)

Constructs a QSslError object. The two arguments specify the error that occurred, and which certificate the error relates to.

See also QSslCertificate.

Member Function Documentation

new QSslCertificate QtNetwork.QSslError.Certificate ( )

Returns the certificate associated with this error, or a null certificate if the error does not relate to any certificate.

See also error() and errorString().

virtual void QtNetwork.QSslError.CreateProxy ( )
virtual
new void QtNetwork.QSslError.Dispose ( )
override bool QtNetwork.QSslError.Equals ( object  o)
new QSslError.SslError QtNetwork.QSslError.Error ( )

Returns the type of the error.

See also errorString() and certificate().

new string QtNetwork.QSslError.ErrorString ( )

Returns a short localized human-readable description of the error.

See also error() and certificate().

override int QtNetwork.QSslError.GetHashCode ( )
static bool QtNetwork.QSslError.operator!= ( QSslError  arg1,
QSslError  arg2 
)
static

Returns true if this error is not equal to other; otherwise returns false.

This function was introduced in Qt 4.4.

static bool QtNetwork.QSslError.operator== ( QSslError  arg1,
QSslError  arg2 
)
static

Returns true if this error is equal to other; otherwise returns false.

This function was introduced in Qt 4.4.

Member Data Documentation

SmokeInvocation QtNetwork.QSslError.interceptor
protected

Property Documentation

virtual System.IntPtr QtNetwork.QSslError.SmokeObject
getset