- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Holds the configuration and state of an SSL connection
Java wrapper for Qt class QSslConfiguration
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQSslConfiguration::NextProtocolNegotiationStatus
-
Field Summary
-
Constructor Summary
ConstructorDescription -
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 void
assign
(QSslConfiguration other) final QMap
<QByteArray, Object> final QList
<QSslCertificate> final QList
<QSslCipher> ciphers()
clone()
Creates and returns a copy of this object.static QSslConfiguration
static QSslConfiguration
final boolean
final QVector
<QSslEllipticCurve> final QSslKey
final boolean
equals
(QSslConfiguration other) boolean
int
hashCode()
Returns the objects's hash code computed byqHash(QSslConfiguration)
.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
(byte [] name, Object value) Overloaded function forsetBackendConfigurationOption(io.qt.core.QByteArray, java.lang.Object)
.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
setPreSharedKeyIdentityHint
(byte [] hint) Overloaded function forsetPreSharedKeyIdentityHint(io.qt.core.QByteArray)
.final void
final void
setPrivateKey
(QSslKey key) final void
setProtocol
(QSsl.SslProtocol protocol) final void
setSessionTicket
(byte [] sessionTicket) Overloaded function forsetSessionTicket(io.qt.core.QByteArray)
.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
-
-
Method Details
-
addCaCertificate
-
addCaCertificates
@QtUninvokable public final void addCaCertificates(Collection<? extends QSslCertificate> certificates) -
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
-
assign
-
equals
-
peerCertificate
-
peerCertificateChain
-
peerVerifyDepth
-
peerVerifyMode
-
privateKey
-
protocol
-
sessionCipher
-
sessionProtocol
-
sessionTicket
-
sessionTicketLifeTimeHint
-
setAllowedNextProtocols
@QtUninvokable public final void setAllowedNextProtocols(Collection<? extends QByteArray> protocols) -
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
-
hashCode
Returns the objects's hash code computed byqHash(QSslConfiguration)
. -
clone
Creates and returns a copy of this object.
-
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
-
setBackendConfiguration
Overloaded function for
setBackendConfiguration(java.util.Map)
withbackendConfiguration = java.util.Collections.emptyMap()
. -
setBackendConfigurationOption
Overloaded function for
setBackendConfigurationOption(io.qt.core.QByteArray, java.lang.Object)
. -
setSessionTicket
Overloaded function for
setSessionTicket(io.qt.core.QByteArray)
.
-