- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Interface for private and public keys
Java wrapper for Qt's class QSslKey
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQSslKey()
QSslKey
(long handle) Overloaded constructor forQSslKey(long, io.qt.network.QSsl.KeyType)
withtype = io.qt.network.QSsl.KeyType.PrivateKey
.QSslKey
(long handle, QSsl.KeyType type) QSslKey
(QByteArray encoded, QSsl.KeyAlgorithm algorithm) QSslKey
(QByteArray encoded, QSsl.KeyAlgorithm algorithm, QSsl.EncodingFormat format) QSslKey
(QByteArray encoded, QSsl.KeyAlgorithm algorithm, QSsl.EncodingFormat format, QSsl.KeyType type) Overloaded constructor forQSslKey(io.qt.core.QByteArray, io.qt.network.QSsl.KeyAlgorithm, io.qt.network.QSsl.EncodingFormat, io.qt.network.QSsl.KeyType, io.qt.core.QByteArray)
withpassPhrase = new io.qt.core.QByteArray()
.QSslKey
(QByteArray encoded, QSsl.KeyAlgorithm algorithm, QSsl.EncodingFormat format, QSsl.KeyType type, QByteArray passPhrase) QSslKey
(QIODevice device, QSsl.KeyAlgorithm algorithm) QSslKey
(QIODevice device, QSsl.KeyAlgorithm algorithm, QSsl.EncodingFormat format) QSslKey
(QIODevice device, QSsl.KeyAlgorithm algorithm, QSsl.EncodingFormat format, QSsl.KeyType type) Overloaded constructor forQSslKey(io.qt.core.QIODevice, io.qt.network.QSsl.KeyAlgorithm, io.qt.network.QSsl.EncodingFormat, io.qt.network.QSsl.KeyType, io.qt.core.QByteArray)
withpassPhrase = new io.qt.core.QByteArray()
.QSslKey
(QIODevice device, QSsl.KeyAlgorithm algorithm, QSsl.EncodingFormat format, QSsl.KeyType type, QByteArray passPhrase) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal QSsl.KeyAlgorithm
final void
final void
clear()
See QSslKey::clear()clone()
boolean
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical.final long
handle()
int
hashCode()
final boolean
isNull()
final int
length()
final void
final QByteArray
toDer()
Overloaded function fortoDer(io.qt.core.QByteArray)
withpassPhrase = new io.qt.core.QByteArray()
.final QByteArray
toDer
(QByteArray passPhrase) final QByteArray
toPem()
Overloaded function fortoPem(io.qt.core.QByteArray)
withpassPhrase = new io.qt.core.QByteArray()
.final QByteArray
toPem
(QByteArray passPhrase) toString()
final QSsl.KeyType
type()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QSslKey
public QSslKey() -
QSslKey
public QSslKey(QIODevice device, QSsl.KeyAlgorithm algorithm, QSsl.EncodingFormat format, QSsl.KeyType type) Overloaded constructor for
QSslKey(io.qt.core.QIODevice, io.qt.network.QSsl.KeyAlgorithm, io.qt.network.QSsl.EncodingFormat, io.qt.network.QSsl.KeyType, io.qt.core.QByteArray)
withpassPhrase = new io.qt.core.QByteArray()
. -
QSslKey
Overloaded constructor for
QSslKey(io.qt.core.QIODevice, io.qt.network.QSsl.KeyAlgorithm, io.qt.network.QSsl.EncodingFormat, io.qt.network.QSsl.KeyType, io.qt.core.QByteArray)
with:
type = io.qt.network.QSsl.KeyType.PrivateKey
passPhrase = new io.qt.core.QByteArray()
-
QSslKey
Overloaded constructor for
QSslKey(io.qt.core.QIODevice, io.qt.network.QSsl.KeyAlgorithm, io.qt.network.QSsl.EncodingFormat, io.qt.network.QSsl.KeyType, io.qt.core.QByteArray)
with:
format = io.qt.network.QSsl.EncodingFormat.Pem
type = io.qt.network.QSsl.KeyType.PrivateKey
passPhrase = new io.qt.core.QByteArray()
-
QSslKey
public QSslKey(QIODevice device, QSsl.KeyAlgorithm algorithm, QSsl.EncodingFormat format, QSsl.KeyType type, QByteArray passPhrase) -
QSslKey
public QSslKey(long handle) Overloaded constructor for
QSslKey(long, io.qt.network.QSsl.KeyType)
withtype = io.qt.network.QSsl.KeyType.PrivateKey
. -
QSslKey
-
QSslKey
public QSslKey(QByteArray encoded, QSsl.KeyAlgorithm algorithm, QSsl.EncodingFormat format, QSsl.KeyType type) Overloaded constructor for
QSslKey(io.qt.core.QByteArray, io.qt.network.QSsl.KeyAlgorithm, io.qt.network.QSsl.EncodingFormat, io.qt.network.QSsl.KeyType, io.qt.core.QByteArray)
withpassPhrase = new io.qt.core.QByteArray()
. -
QSslKey
Overloaded constructor for
QSslKey(io.qt.core.QByteArray, io.qt.network.QSsl.KeyAlgorithm, io.qt.network.QSsl.EncodingFormat, io.qt.network.QSsl.KeyType, io.qt.core.QByteArray)
with:
type = io.qt.network.QSsl.KeyType.PrivateKey
passPhrase = new io.qt.core.QByteArray()
-
QSslKey
Overloaded constructor for
QSslKey(io.qt.core.QByteArray, io.qt.network.QSsl.KeyAlgorithm, io.qt.network.QSsl.EncodingFormat, io.qt.network.QSsl.KeyType, io.qt.core.QByteArray)
with:
format = io.qt.network.QSsl.EncodingFormat.Pem
type = io.qt.network.QSsl.KeyType.PrivateKey
passPhrase = new io.qt.core.QByteArray()
-
QSslKey
public QSslKey(QByteArray encoded, QSsl.KeyAlgorithm algorithm, QSsl.EncodingFormat format, QSsl.KeyType type, QByteArray passPhrase) -
QSslKey
-
QSslKey
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
algorithm
-
clear
See QSslKey::clear()
-
handle
-
isNull
-
length
-
assign
-
swap
-
toDer
Overloaded function for
toDer(io.qt.core.QByteArray)
withpassPhrase = new io.qt.core.QByteArray()
. -
toDer
-
toPem
Overloaded function for
toPem(io.qt.core.QByteArray)
withpassPhrase = new io.qt.core.QByteArray()
. -
toPem
-
type
-
equals
Description copied from class:QtObject
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical. Qt value types override this method to make a value comparison. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
toString
-
clone
-