- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Interface for private and public keys
Java wrapper for Qt class QSslKey
-
Constructor Summary
ConstructorDescriptionQSslKey()
QSslKey
(byte [] encoded, QSsl.KeyAlgorithm algorithm) QSslKey
(byte [] encoded, QSsl.KeyAlgorithm algorithm, QSsl.EncodingFormat format) QSslKey
(byte [] encoded, QSsl.KeyAlgorithm algorithm, QSsl.EncodingFormat format, QSsl.KeyType type) Overloaded constructor forQSslKey(byte[], 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
(byte [] encoded, QSsl.KeyAlgorithm algorithm, QSsl.EncodingFormat format, QSsl.KeyType type, byte [] passPhrase) QSslKey
(byte [] encoded, QSsl.KeyAlgorithm algorithm, QSsl.EncodingFormat format, QSsl.KeyType type, QByteArray passPhrase) 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, byte [] passPhrase) 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, byte [] passPhrase) 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.final boolean
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
(byte [] passPhrase) Overloaded function fortoDer(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
(byte [] passPhrase) Overloaded function fortoPem(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(QByteArray encoded, QSsl.KeyAlgorithm algorithm, QSsl.EncodingFormat format, QSsl.KeyType type, QByteArray passPhrase) -
QSslKey
public QSslKey(QIODevice device, QSsl.KeyAlgorithm algorithm, QSsl.EncodingFormat format, QSsl.KeyType type, QByteArray passPhrase) -
QSslKey
-
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(byte [] encoded, QSsl.KeyAlgorithm algorithm, QSsl.EncodingFormat format, QSsl.KeyType type) Overloaded constructor for
QSslKey(byte[], 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(byte[], 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(byte[], 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(byte [] encoded, QSsl.KeyAlgorithm algorithm, QSsl.EncodingFormat format, QSsl.KeyType type, QByteArray passPhrase) -
QSslKey
public QSslKey(QByteArray encoded, QSsl.KeyAlgorithm algorithm, QSsl.EncodingFormat format, QSsl.KeyType type, byte [] passPhrase) -
QSslKey
public QSslKey(byte [] encoded, QSsl.KeyAlgorithm algorithm, QSsl.EncodingFormat format, QSsl.KeyType type, byte [] passPhrase) -
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, byte [] passPhrase) -
QSslKey
public QSslKey(long handle) Overloaded constructor for
QSslKey(long, io.qt.network.QSsl.KeyType)
withtype = io.qt.network.QSsl.KeyType.PrivateKey
.
-
-
Method Details
-
algorithm
-
clear
See
QSslKey::
clear() -
handle
-
isNull
-
length
-
assign
-
equals
-
swap
-
toDer
-
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.
-
toDer
Overloaded function for
toDer(io.qt.core.QByteArray)
withpassPhrase = new io.qt.core.QByteArray()
. -
toDer
Overloaded function for
toDer(io.qt.core.QByteArray)
. -
toPem
Overloaded function for
toPem(io.qt.core.QByteArray)
withpassPhrase = new io.qt.core.QByteArray()
. -
toPem
Overloaded function for
toPem(io.qt.core.QByteArray)
.
-