- 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 QList<QSslEllipticCurve>
final QSslKey
final boolean
equals
(QSslConfiguration other) boolean
final boolean
int
hashCode()
Returns the objects's hash code computed byqHash(QSslConfiguration)
.final boolean
isNull()
final QSslCertificate
final QList<QSslCertificate>
final boolean
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
(String ciphers) 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
setHandshakeMustInterruptOnError
(boolean interrupt) final void
setLocalCertificate
(QSslCertificate certificate) final void
setLocalCertificateChain
(Collection<? extends QSslCertificate> localChain) final void
setMissingCertificateIsFatal
(boolean cannotRecover) 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 QList<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
-
-
Constructor Details
-
QSslConfiguration
public QSslConfiguration() -
QSslConfiguration
- Parameters:
other
-
-
-
Method Details
-
addCaCertificate
- Parameters:
certificate
-
-
addCaCertificates
@QtUninvokable public final void addCaCertificates(Collection<? extends QSslCertificate> certificates) - Parameters:
certificates
-
-
addCaCertificates
@QtUninvokable public final boolean addCaCertificates(String path, QSsl.EncodingFormat format, QSslCertificate.PatternSyntax syntax) See
QSslConfiguration::
addCaCertificates(QString, QSsl::EncodingFormat, QSslCertificate::PatternSyntax) - Parameters:
path
-format
-syntax
-- Returns:
-
allowedNextProtocols
- Returns:
-
backendConfiguration
- Returns:
-
caCertificates
- Returns:
-
ciphers
- Returns:
-
diffieHellmanParameters
- Returns:
-
dtlsCookieVerificationEnabled
- Returns:
-
ellipticCurves
- Returns:
-
ephemeralServerKey
- Returns:
-
handshakeMustInterruptOnError
- Returns:
- Since:
- This function was introduced in Qt 6.0.
-
isNull
- Returns:
-
localCertificate
- Returns:
-
localCertificateChain
- Returns:
-
missingCertificateIsFatal
- Returns:
- Since:
- This function was introduced in Qt 6.0.
-
nextNegotiatedProtocol
- Returns:
-
nextProtocolNegotiationStatus
@QtUninvokable public final QSslConfiguration.NextProtocolNegotiationStatus nextProtocolNegotiationStatus()- Returns:
-
ocspStaplingEnabled
- Returns:
-
assign
- Parameters:
other
-
-
equals
- Parameters:
other
-- Returns:
-
peerCertificate
- Returns:
-
peerCertificateChain
- Returns:
-
peerVerifyDepth
- Returns:
-
peerVerifyMode
- Returns:
-
privateKey
- Returns:
-
protocol
- Returns:
-
sessionCipher
- Returns:
-
sessionProtocol
- Returns:
-
sessionTicket
- Returns:
-
sessionTicketLifeTimeHint
- Returns:
-
setAllowedNextProtocols
@QtUninvokable public final void setAllowedNextProtocols(Collection<? extends QByteArray> protocols) - Parameters:
protocols
-
-
setBackendConfiguration
@QtUninvokable public final void setBackendConfiguration(Map<? extends QByteArray, ? extends Object> backendConfiguration) - Parameters:
backendConfiguration
-
-
setBackendConfigurationOption
- Parameters:
name
-value
-
-
setCaCertificates
@QtUninvokable public final void setCaCertificates(Collection<? extends QSslCertificate> certificates) - Parameters:
certificates
-
-
setCiphers
- Parameters:
ciphers
-
-
setCiphers
- Parameters:
ciphers
-- Since:
- This function was introduced in Qt 6.0.
-
setDiffieHellmanParameters
- Parameters:
dhparams
-
-
setDtlsCookieVerificationEnabled
- Parameters:
enable
-
-
setEllipticCurves
- Parameters:
curves
-
-
setHandshakeMustInterruptOnError
- Parameters:
interrupt
-- Since:
- This function was introduced in Qt 6.0.
-
setLocalCertificate
- Parameters:
certificate
-
-
setLocalCertificateChain
@QtUninvokable public final void setLocalCertificateChain(Collection<? extends QSslCertificate> localChain) - Parameters:
localChain
-
-
setMissingCertificateIsFatal
- Parameters:
cannotRecover
-- Since:
- This function was introduced in Qt 6.0.
-
setOcspStaplingEnabled
- Parameters:
enable
-
-
setPeerVerifyDepth
- Parameters:
depth
-
-
setPeerVerifyMode
- Parameters:
mode
-
-
setPrivateKey
- Parameters:
key
-
-
setProtocol
- Parameters:
protocol
-
-
setSessionTicket
- Parameters:
sessionTicket
-
-
setSslOption
- Parameters:
option
-on
-
-
swap
- Parameters:
other
-
-
testSslOption
- Parameters:
option
-- Returns:
-
defaultConfiguration
- Returns:
-
defaultDtlsConfiguration
- Returns:
-
setDefaultConfiguration
- Parameters:
configuration
-
-
setDefaultDtlsConfiguration
- Parameters:
configuration
-
-
supportedCiphers
- Returns:
-
supportedEllipticCurves
- Returns:
-
systemCaCertificates
- Returns:
-
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)
.
-