com.trolltech.qt.network
Class QSslError

java.lang.Object
  extended by com.trolltech.qt.internal.QSignalEmitterInternal
      extended by com.trolltech.qt.QSignalEmitter
          extended by com.trolltech.qt.QtJambiObject
              extended by com.trolltech.qt.network.QSslError
All Implemented Interfaces:
QtJambiInterface, java.lang.Cloneable

public class QSslError
extends QtJambiObject
implements java.lang.Cloneable

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.


Nested Class Summary
static class QSslError.SslError
          Describes all recognized errors that can occur during an SSL handshake.
 
Nested classes/interfaces inherited from class com.trolltech.qt.QSignalEmitter
QSignalEmitter.AbstractSignal, QSignalEmitter.PrivateSignal0, QSignalEmitter.PrivateSignal1, QSignalEmitter.PrivateSignal2, QSignalEmitter.PrivateSignal3, QSignalEmitter.PrivateSignal4, QSignalEmitter.PrivateSignal5, QSignalEmitter.PrivateSignal6, QSignalEmitter.PrivateSignal7, QSignalEmitter.PrivateSignal8, QSignalEmitter.PrivateSignal9, QSignalEmitter.Signal0, QSignalEmitter.Signal1, QSignalEmitter.Signal2, QSignalEmitter.Signal3, QSignalEmitter.Signal4, QSignalEmitter.Signal5, QSignalEmitter.Signal6, QSignalEmitter.Signal7, QSignalEmitter.Signal8, QSignalEmitter.Signal9
 
Nested classes/interfaces inherited from class com.trolltech.qt.internal.QSignalEmitterInternal
com.trolltech.qt.internal.QSignalEmitterInternal.AbstractSignalInternal
 
Field Summary
 
Fields inherited from class com.trolltech.qt.internal.QSignalEmitterInternal
currentSender
 
Constructor Summary
QSslError()
          Constructs a QSslError object.
QSslError(QSslError.SslError error)
          Constructs a QSslError object.
QSslError(QSslError.SslError error, QSslCertificate certificate)
          Constructs a QSslError object.
QSslError(QSslError other)
          Constructs an identical copy of other.
 
Method Summary
 QSslCertificate certificate()
          Returns the certificate associated with this error, or a null certificate if the error does not relate to any certificate.
 QSslError clone()
          This method is reimplemented for internal reasons
 QSslError.SslError error()
          Returns the type of the error.
 java.lang.String errorString()
          Returns a short localized human-readable description of the error.
 java.lang.String toString()
          Returns a string representation of the this QSslError.
 
Methods inherited from class com.trolltech.qt.QtJambiObject
dispose, disposed, equals, finalize, reassignNativeResources, tr, tr, tr
 
Methods inherited from class com.trolltech.qt.QSignalEmitter
blockSignals, disconnect, disconnect, signalsBlocked, signalSender, thread
 
Methods inherited from class com.trolltech.qt.internal.QSignalEmitterInternal
__qt_signalInitialization
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.trolltech.qt.QtJambiInterface
disableGarbageCollection, nativeId, nativePointer, reenableGarbageCollection, setJavaOwnership
 

Constructor Detail

QSslError

public QSslError(QSslError.SslError error)
Constructs a QSslError object. The two optional arguments specify the error that occurred, and which certificate the error relates to.

See also:
QSslCertificate.


QSslError

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

See also:
QSslCertificate.


QSslError

public QSslError(QSslError.SslError error,
                 QSslCertificate certificate)
Constructs a QSslError object. The two optional arguments specify the error that occurred, and which certificate the error relates to.

See also:
QSslCertificate.


QSslError

public QSslError(QSslError other)
Constructs an identical copy of other.

Method Detail

certificate

public final QSslCertificate 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().


error

public final QSslError.SslError error()
Returns the type of the error.

See also:
errorString(), and certificate().


errorString

public final java.lang.String errorString()
Returns a short localized human-readable description of the error.

See also:
error(), and certificate().


toString

public java.lang.String toString()
Returns a string representation of the this QSslError.

Overrides:
toString in class java.lang.Object

clone

public QSslError clone()
This method is reimplemented for internal reasons

Overrides:
clone in class java.lang.Object