java.lang.Object
io.qt.internal.NativeUtility.Object
io.qt.QtObject
io.qt.network.QSslConfiguration
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Holds the configuration and state of an SSL connection
Java wrapper for Qt's class QSslConfiguration
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QSslConfiguration::NextProtocolNegotiationStatusNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
addCaCertificate
(QSslCertificate certificate) final boolean
addCaCertificates
(String path) final boolean
addCaCertificates
(String path, QSsl.EncodingFormat format) Overloaded function foraddCaCertificates(java.lang.String, io.qt.network.QSsl.EncodingFormat, io.qt.network.QSslCertificate.PatternSyntax)
withsyntax = io.qt.network.QSslCertificate.PatternSyntax.FixedString
.final boolean
addCaCertificates
(String path, QSsl.EncodingFormat format, QSslCertificate.PatternSyntax syntax) final void
addCaCertificates
(Collection<? extends QSslCertificate> certificates) final QList<QByteArray>
final QMap<QByteArray,
Object> final QList<QSslCertificate>
final QList<QSslCipher>
ciphers()
clone()
static QSslConfiguration
static QSslConfiguration
final boolean
final QVector<QSslEllipticCurve>
final QSslKey
boolean
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical.int
hashCode()
final boolean
isNull()
final QSslCertificate
final QList<QSslCertificate>
final QByteArray
final boolean
final QSslCertificate
final QList<QSslCertificate>
final int
final QByteArray
final QSslKey
final QSsl.SslProtocol
protocol()
final QSslCipher
final QSsl.SslProtocol
final QByteArray
final int
final void
setAllowedNextProtocols
(Collection<? extends QByteArray> protocols) final void
Overloaded function forsetBackendConfiguration(java.util.Map)
withbackendConfiguration = java.util.Collections.emptyMap()
.final void
setBackendConfiguration
(Map<? extends QByteArray, ? extends Object> backendConfiguration) final void
setBackendConfigurationOption
(QByteArray name, Object value) final void
setCaCertificates
(Collection<? extends QSslCertificate> certificates) final void
setCiphers
(Collection<? extends QSslCipher> ciphers) static void
setDefaultConfiguration
(QSslConfiguration configuration) static void
setDefaultDtlsConfiguration
(QSslConfiguration configuration) final void
final void
setDtlsCookieVerificationEnabled
(boolean enable) final void
setEllipticCurves
(Collection<? extends QSslEllipticCurve> curves) final void
setLocalCertificate
(QSslCertificate certificate) final void
setLocalCertificateChain
(Collection<? extends QSslCertificate> localChain) final void
setOcspStaplingEnabled
(boolean enable) final void
setPeerVerifyDepth
(int depth) final void
final void
final void
setPrivateKey
(QSslKey key) final void
setProtocol
(QSsl.SslProtocol protocol) final void
setSessionTicket
(QByteArray sessionTicket) final void
setSslOption
(QSsl.SslOption option, boolean on) static QList<QSslCipher>
static QVector<QSslEllipticCurve>
final void
swap
(QSslConfiguration other) static QList<QSslCertificate>
final boolean
testSslOption
(QSsl.SslOption option) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Field Details
-
ALPNProtocolHTTP2
-
NextProtocolHttp1_1
-
NextProtocolSpdy3_0
-
-
Constructor Details
-
QSslConfiguration
public QSslConfiguration() -
QSslConfiguration
-
QSslConfiguration
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
addCaCertificate
-
addCaCertificates
@QtUninvokable public final void addCaCertificates(Collection<? extends QSslCertificate> certificates) -
addCaCertificates
Overloaded function for
addCaCertificates(java.lang.String, io.qt.network.QSsl.EncodingFormat, io.qt.network.QSslCertificate.PatternSyntax)
withsyntax = io.qt.network.QSslCertificate.PatternSyntax.FixedString
. -
addCaCertificates
Overloaded function for
addCaCertificates(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
-
addCaCertificates
@QtUninvokable public final boolean addCaCertificates(String path, QSsl.EncodingFormat format, QSslCertificate.PatternSyntax syntax) -
allowedNextProtocols
-
backendConfiguration
-
caCertificates
-
ciphers
-
diffieHellmanParameters
-
dtlsCookieVerificationEnabled
-
ellipticCurves
-
ephemeralServerKey
-
isNull
-
localCertificate
-
localCertificateChain
-
nextNegotiatedProtocol
-
nextProtocolNegotiationStatus
@QtUninvokable public final QSslConfiguration.NextProtocolNegotiationStatus nextProtocolNegotiationStatus() -
ocspStaplingEnabled
-
peerCertificate
-
peerCertificateChain
-
peerVerifyDepth
-
peerVerifyMode
-
privateKey
-
protocol
-
sessionCipher
-
sessionProtocol
-
sessionTicket
-
sessionTicketLifeTimeHint
-
setAllowedNextProtocols
@QtUninvokable public final void setAllowedNextProtocols(Collection<? extends QByteArray> protocols) -
setBackendConfiguration
Overloaded function for
setBackendConfiguration(java.util.Map)
withbackendConfiguration = java.util.Collections.emptyMap()
. -
setBackendConfiguration
@QtUninvokable public final void setBackendConfiguration(Map<? extends QByteArray, ? extends Object> backendConfiguration) -
setBackendConfigurationOption
-
setCaCertificates
@QtUninvokable public final void setCaCertificates(Collection<? extends QSslCertificate> certificates) -
setCiphers
-
setDiffieHellmanParameters
-
setDtlsCookieVerificationEnabled
-
setEllipticCurves
-
setLocalCertificate
-
setLocalCertificateChain
@QtUninvokable public final void setLocalCertificateChain(Collection<? extends QSslCertificate> localChain) -
setOcspStaplingEnabled
-
setPeerVerifyDepth
-
setPeerVerifyMode
-
setPrivateKey
-
setProtocol
-
setSessionTicket
-
setSslOption
-
swap
-
testSslOption
-
defaultConfiguration
-
defaultDtlsConfiguration
-
setDefaultConfiguration
-
setDefaultDtlsConfiguration
-
supportedCiphers
-
supportedEllipticCurves
-
systemCaCertificates
-
equals
Description copied from class:QtObject
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical. Qt value types override this method to make a value comparison. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
clone
-