- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QSslCertificate extends QtObject implements Cloneable
Convenient API for an X509 certificate
Java wrapper for Qt class QSslCertificate
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QSslCertificate.PatternSyntax
Java wrapper for Qt enum QSslCertificate::PatternSyntaxstatic class
QSslCertificate.SubjectInfo
Java wrapper for Qt enum QSslCertificate::SubjectInfo -
Constructor Summary
Constructors Modifier Constructor Description QSslCertificate()
Overloaded 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
QSslCertificate(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
-
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
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
-