- 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 enum QSslCertificate::PatternSyntaxstatic enum
Java wrapper for Qt enum QSslCertificate::SubjectInfoNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionOverloaded 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
(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) QSslCertificate
(QSslCertificate other) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
clear()
clone()
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
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.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) Deprecated.Use the overload not using QRegExpstatic QList<QSslCertificate>
fromPath
(String path, QSsl.EncodingFormat format, QSslCertificate.PatternSyntax syntax) final long
handle()
int
hashCode()
static boolean
importPkcs12
(QIODevice device, QSslKey key, QSslCertificate cert) static boolean
importPkcs12
(QIODevice device, QSslKey key, QSslCertificate cert, Collection<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<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()
final String
toText()
verify
(Collection<QSslCertificate> certificateChain) Overloaded function forverify(java.util.Collection, java.lang.String)
withhostName = ""
.verify
(Collection<QSslCertificate> certificateChain, String hostName) final QByteArray
version()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QSslCertificate
Overloaded constructor for
QSslCertificate(io.qt.core.QIODevice, io.qt.network.QSsl.EncodingFormat)
withformat = io.qt.network.QSsl.EncodingFormat.Pem
. -
QSslCertificate
-
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
-
QSslCertificate
-
QSslCertificate
-
QSslCertificate
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
clear
-
digest
Overloaded function for
digest(io.qt.core.QCryptographicHash.Algorithm)
withalgorithm = io.qt.core.QCryptographicHash.Algorithm.Md5
. -
digest
-
effectiveDate
-
expiryDate
-
extensions
-
handle
-
isBlacklisted
-
isNull
-
isSelfSigned
-
issuerDisplayName
-
issuerInfo
-
issuerInfo
-
issuerInfoAttributes
-
publicKey
-
serialNumber
-
subjectAlternativeNames
@QtUninvokable public final QMultiMap<QSsl.AlternativeNameEntryType,String> subjectAlternativeNames() -
subjectDisplayName
-
subjectInfo
-
subjectInfo
-
subjectInfoAttributes
-
swap
-
toDer
-
toPem
-
toText
-
version
-
fromData
Overloaded function for
fromData(io.qt.core.QByteArray, io.qt.network.QSsl.EncodingFormat)
withformat = io.qt.network.QSsl.EncodingFormat.Pem
. -
fromData
-
fromDevice
Overloaded function for
fromDevice(io.qt.core.QIODevice, io.qt.network.QSsl.EncodingFormat)
withformat = io.qt.network.QSsl.EncodingFormat.Pem
. -
fromDevice
-
fromPath
@Deprecated public static QList<QSslCertificate> fromPath(String path, QSsl.EncodingFormat format, QRegExp.PatternSyntax syntax) Deprecated.Use the overload not using QRegExp -
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
-
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<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()
-
importPkcs12
public static boolean importPkcs12(QIODevice device, QSslKey key, QSslCertificate cert, Collection<QSslCertificate> caCertificates, QByteArray passPhrase) -
verify
Overloaded function for
verify(java.util.Collection, java.lang.String)
withhostName = ""
. -
verify
public static QList<QSslError> verify(Collection<QSslCertificate> certificateChain, String hostName) -
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
-
toString
-
clone
-