|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.trolltech.qt.internal.QSignalEmitterInternal
com.trolltech.qt.QSignalEmitter
com.trolltech.qt.QtJambiObject
com.trolltech.qt.network.QSslCipher
public class QSslCipher
The QSslCipher class represents an SSL cryptographic cipher. QSslCipher stores information about one cryptographic cipher. It is most commonly used with QSslSocket
, either for configuring which ciphers the socket can use, or for displaying the socket's ciphers to the user.
QSslSocket
, and QSslKey
.
Nested Class Summary |
---|
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 | |
---|---|
QSslCipher()
Constructs an empty QSslCipher object. |
|
QSslCipher(QSslCipher other)
Constructs an identical copy of the other cipher. |
|
QSslCipher(java.lang.String name,
QSsl.SslProtocol protocol)
Constructs a QSslCipher object for the cipher determined by name and protocol. |
Method Summary | |
---|---|
java.lang.String |
authenticationMethod()
Returns the cipher's authentication method as a QString. |
QSslCipher |
clone()
This method is reimplemented for internal reasons |
java.lang.String |
encryptionMethod()
Returns the cipher's encryption method as a QString. |
boolean |
isNull()
Returns true if this is a null cipher; otherwise returns false. |
java.lang.String |
keyExchangeMethod()
Returns the cipher's key exchange method as a QString. |
java.lang.String |
name()
Returns the name of the cipher, or an empty QString if this is a null cipher. |
QSsl.SslProtocol |
protocol()
Returns the cipher's protocol type, or QSsl::UnknownProtocol if QSslCipher is unable to determine the protocol (protocolString() may contain more information). |
java.lang.String |
protocolString()
Returns the cipher's protocol as a QString. |
int |
supportedBits()
Returns the number of bits supported by the cipher. |
java.lang.String |
toString()
|
int |
usedBits()
Returns the number of bits used by the cipher. |
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 |
---|
public QSslCipher()
public QSslCipher(QSslCipher other)
public QSslCipher(java.lang.String name, QSsl.SslProtocol protocol)
QSslSocket::supportedCiphers()
). You can call isNull()
after construction to check if name and protocol correctly identified a supported cipher.
Method Detail |
---|
public final java.lang.String authenticationMethod()
public final java.lang.String encryptionMethod()
public final boolean isNull()
public final java.lang.String keyExchangeMethod()
public final java.lang.String name()
isNull()
.
public final QSsl.SslProtocol protocol()
QSsl::UnknownProtocol
if QSslCipher is unable to determine the protocol (protocolString()
may contain more information). protocolString()
.
public final java.lang.String protocolString()
protocol()
.
public final int supportedBits()
usedBits()
.
public final int usedBits()
supportedBits()
.
public java.lang.String toString()
toString
in class java.lang.Object
public QSslCipher clone()
clone
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |