- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Convenient API for an X509 certificate
Java wrapper for Qt class QSslCertificate
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQSslCertificate::PatternSyntax
static enum
Java wrapper for Qt enumQSslCertificate::SubjectInfo
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ConstructorDescriptionOverloaded constructor forQSslCertificate(io.qt.core.QByteArray, io.qt.network.QSsl.EncodingFormat)
QSslCertificate
(QByteArray data) Overloaded constructor forQSslCertificate(io.qt.core.QByteArray, io.qt.network.QSsl.EncodingFormat)
withformat = io.qt.network.QSsl.EncodingFormat.Pem
.QSslCertificate
(QByteArray data, QSsl.EncodingFormat format) QSslCertificate
(QSslCertificate other) QSslCertificate
(QIODevice device) Overloaded constructor forQSslCertificate(io.qt.core.QIODevice, io.qt.network.QSsl.EncodingFormat)
withformat = io.qt.network.QSsl.EncodingFormat.Pem
.QSslCertificate
(QIODevice device, QSsl.EncodingFormat format) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QSslCertificate other) final void
clear()
clone()
Creates and returns a copy of this object.final QByteArray
digest()
Overloaded function fordigest(io.qt.core.QCryptographicHash.Algorithm)
withalgorithm = io.qt.core.QCryptographicHash.Algorithm.Md5
.final QByteArray
digest
(QCryptographicHash.Algorithm algorithm) final QDateTime
boolean
final QDateTime
final QList<QSslCertificateExtension>
static QList<QSslCertificate>
fromData
(QByteArray data) Overloaded function forfromData(io.qt.core.QByteArray, io.qt.network.QSsl.EncodingFormat)
withformat = io.qt.network.QSsl.EncodingFormat.Pem
.static QList<QSslCertificate>
fromData
(QByteArray data, QSsl.EncodingFormat format) static QList<QSslCertificate>
fromDevice
(QIODevice device) Overloaded function forfromDevice(io.qt.core.QIODevice, io.qt.network.QSsl.EncodingFormat)
withformat = io.qt.network.QSsl.EncodingFormat.Pem
.static QList<QSslCertificate>
fromDevice
(QIODevice device, QSsl.EncodingFormat format) static QList<QSslCertificate>
static QList<QSslCertificate>
fromPath
(String path, QSsl.EncodingFormat format) Overloaded function forfromPath(java.lang.String, io.qt.network.QSsl.EncodingFormat, io.qt.network.QSslCertificate.PatternSyntax)
withsyntax = io.qt.network.QSslCertificate.PatternSyntax.FixedString
.static QList<QSslCertificate>
fromPath
(String path, QSsl.EncodingFormat format, QRegExp.PatternSyntax syntax) static QList<QSslCertificate>
fromPath
(String path, QSsl.EncodingFormat format, QSslCertificate.PatternSyntax syntax) final long
handle()
int
hashCode()
Returns the objects's hash code computed byqHash(QSslCertificate)
.static boolean
importPkcs12
(QIODevice device, QSslKey key, QSslCertificate cert) static boolean
importPkcs12
(QIODevice device, QSslKey key, QSslCertificate cert, Collection<? extends QSslCertificate> caCertificates) Overloaded function forimportPkcs12(io.qt.core.QIODevice, io.qt.network.QSslKey, io.qt.network.QSslCertificate, java.util.Collection, io.qt.core.QByteArray)
withpassPhrase = new io.qt.core.QByteArray()
.static boolean
importPkcs12
(QIODevice device, QSslKey key, QSslCertificate cert, Collection<? extends QSslCertificate> caCertificates, QByteArray passPhrase) final boolean
final boolean
isNull()
final boolean
final String
final QStringList
issuerInfo
(QByteArray attribute) final QStringList
final QList<QByteArray>
final QSslKey
final QByteArray
final String
final QStringList
subjectInfo
(QByteArray attribute) final QStringList
final QList<QByteArray>
final void
swap
(QSslCertificate other) final QByteArray
toDer()
final QByteArray
toPem()
toString()
Seeoperator<<(QDebug,
QSslCertificate) final String
toText()
verify
(Collection<? extends QSslCertificate> certificateChain) Overloaded function forverify(java.util.Collection, java.lang.String)
withhostName = (String)null
.verify
(Collection<? extends QSslCertificate> certificateChain, String hostName) final QByteArray
version()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QSslCertificate
-
QSslCertificate
-
QSslCertificate
-
QSslCertificate
Overloaded constructor for
QSslCertificate(io.qt.core.QIODevice, io.qt.network.QSsl.EncodingFormat)
withformat = io.qt.network.QSsl.EncodingFormat.Pem
. -
QSslCertificate
Overloaded constructor for
QSslCertificate(io.qt.core.QByteArray, io.qt.network.QSsl.EncodingFormat)
withformat = io.qt.network.QSsl.EncodingFormat.Pem
. -
QSslCertificate
public QSslCertificate()Overloaded constructor for
QSslCertificate(io.qt.core.QByteArray, io.qt.network.QSsl.EncodingFormat)
with:
data = new io.qt.core.QByteArray()
format = io.qt.network.QSsl.EncodingFormat.Pem
-
-
Method Details
-
clear
-
digest
-
effectiveDate
-
expiryDate
-
extensions
-
handle
-
isBlacklisted
-
isNull
-
isSelfSigned
-
issuerDisplayName
-
issuerInfo
-
issuerInfo
-
issuerInfoAttributes
-
assign
-
publicKey
-
serialNumber
-
subjectAlternativeNames
@QtUninvokable public final QMultiMap<QSsl.AlternativeNameEntryType,String> subjectAlternativeNames() -
subjectDisplayName
-
subjectInfo
-
subjectInfo
-
subjectInfoAttributes
-
swap
-
toDer
-
toPem
-
toText
-
version
-
fromData
-
fromDevice
-
fromPath
public static QList<QSslCertificate> fromPath(String path, QSsl.EncodingFormat format, QRegExp.PatternSyntax syntax) -
fromPath
public static QList<QSslCertificate> fromPath(String path, QSsl.EncodingFormat format, QSslCertificate.PatternSyntax syntax) -
importPkcs12
public static boolean importPkcs12(QIODevice device, QSslKey key, QSslCertificate cert, Collection<? extends QSslCertificate> caCertificates, QByteArray passPhrase) -
verify
public static QList<QSslError> verify(Collection<? extends QSslCertificate> certificateChain, String hostName) -
equals
-
hashCode
Returns the objects's hash code computed byqHash(QSslCertificate)
. -
toString
See
operator<<(QDebug,
QSslCertificate) -
clone
Creates and returns a copy of this object.
-
digest
Overloaded function for
digest(io.qt.core.QCryptographicHash.Algorithm)
withalgorithm = io.qt.core.QCryptographicHash.Algorithm.Md5
. -
fromData
Overloaded function for
fromData(io.qt.core.QByteArray, io.qt.network.QSsl.EncodingFormat)
withformat = io.qt.network.QSsl.EncodingFormat.Pem
. -
fromDevice
Overloaded function for
fromDevice(io.qt.core.QIODevice, io.qt.network.QSsl.EncodingFormat)
withformat = io.qt.network.QSsl.EncodingFormat.Pem
. -
fromPath
Overloaded function for
fromPath(java.lang.String, io.qt.network.QSsl.EncodingFormat, io.qt.network.QSslCertificate.PatternSyntax)
withsyntax = io.qt.network.QSslCertificate.PatternSyntax.FixedString
. -
fromPath
Overloaded function for
fromPath(java.lang.String, io.qt.network.QSsl.EncodingFormat, io.qt.network.QSslCertificate.PatternSyntax)
with:
format = io.qt.network.QSsl.EncodingFormat.Pem
syntax = io.qt.network.QSslCertificate.PatternSyntax.FixedString
-
importPkcs12
public static boolean importPkcs12(QIODevice device, QSslKey key, QSslCertificate cert, Collection<? extends QSslCertificate> caCertificates) Overloaded function for
importPkcs12(io.qt.core.QIODevice, io.qt.network.QSslKey, io.qt.network.QSslCertificate, java.util.Collection, io.qt.core.QByteArray)
withpassPhrase = new io.qt.core.QByteArray()
. -
importPkcs12
Overloaded function for
importPkcs12(io.qt.core.QIODevice, io.qt.network.QSslKey, io.qt.network.QSslCertificate, java.util.Collection, io.qt.core.QByteArray)
with:
caCertificates = null
passPhrase = new io.qt.core.QByteArray()
-
verify
Overloaded function for
verify(java.util.Collection, java.lang.String)
withhostName = (String)null
.
-