- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Interface for private and public keys
Java wrapper for Qt class QSslKey
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ConstructorDescriptionQSslKey()
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) -
Method Summary
Modifier and TypeMethodDescriptionfinal QSsl.KeyAlgorithm
final void
final void
clear()
SeeQSslKey::
clear() clone()
Creates and returns a copy of this object.boolean
final long
handle()
int
hashCode()
Returns the objects's hash code computed byqHash(QSslKey)
.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()
Seeoperator<<(QDebug,
QSslKey) 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
-
-
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
-
hashCode
Returns the objects's hash code computed byqHash(QSslKey)
. -
toString
See
operator<<(QDebug,
QSslKey) -
clone
Creates and returns a copy of this object.
-