- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QSslKey extends QtObject implements Cloneable
Interface for private and public keys
Java wrapper for Qt class QSslKey
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description QSsl.KeyAlgorithm
algorithm()
void
clear()
See QSslKey::clear()QSslKey
clone()
boolean
equals(Object other)
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.long
handle()
int
hashCode()
boolean
isNull()
int
length()
void
swap(QSslKey other)
QByteArray
toDer()
Overloaded function fortoDer(io.qt.core.QByteArray)
withpassPhrase = new io.qt.core.QByteArray()
.QByteArray
toDer(QByteArray passPhrase)
QByteArray
toPem()
Overloaded function fortoPem(io.qt.core.QByteArray)
withpassPhrase = new io.qt.core.QByteArray()
.QByteArray
toPem(QByteArray passPhrase)
String
toString()
QSsl.KeyType
type()
-
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
-
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 native resources with the other object if the other object is a subtype of QtJambiInterface. Otherwise it will return the result of calling the super class implementation. -
hashCode
public int hashCode() -
toString
-
clone
-