java.lang.Object
io.qt.internal.QtJambiObject
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 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<QSslCertificate> certificates) final QList<QByteArray>
final QMap<QByteArray,
Object> final QList<QSslCertificate>
final QList<QSslCipher>
ciphers()
clone()
static QSslConfiguration
static QSslConfiguration
final boolean
final QList<QSslEllipticCurve>
final QSslKey
boolean
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.final boolean
int
hashCode()
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<QByteArray> protocols) final void
Overloaded function forsetBackendConfiguration(java.util.Map)
withbackendConfiguration = java.util.Collections.emptyMap()
.final void
setBackendConfiguration
(Map<QByteArray, Object> backendConfiguration) final void
setBackendConfigurationOption
(QByteArray name, Object value) final void
setCaCertificates
(Collection<QSslCertificate> certificates) final void
setCiphers
(String ciphers) final void
setCiphers
(Collection<QSslCipher> ciphers) static void
setDefaultConfiguration
(QSslConfiguration configuration) static void
setDefaultDtlsConfiguration
(QSslConfiguration configuration) final void
final void
setDtlsCookieVerificationEnabled
(boolean enable) final void
setEllipticCurves
(Collection<QSslEllipticCurve> curves) final void
setHandshakeMustInterruptOnError
(boolean interrupt) final void
setLocalCertificate
(QSslCertificate certificate) final void
setLocalCertificateChain
(Collection<QSslCertificate> localChain) final void
setMissingCertificateIsFatal
(boolean cannotRecover) 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 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
-
QSslConfiguration
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
addCaCertificate
-
addCaCertificates
-
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
-
handshakeMustInterruptOnError
-
isNull
-
localCertificate
-
localCertificateChain
-
missingCertificateIsFatal
-
nextNegotiatedProtocol
-
nextProtocolNegotiationStatus
@QtUninvokable public final QSslConfiguration.NextProtocolNegotiationStatus nextProtocolNegotiationStatus() -
ocspStaplingEnabled
-
peerCertificate
-
peerCertificateChain
-
peerVerifyDepth
-
peerVerifyMode
-
privateKey
-
protocol
-
sessionCipher
-
sessionProtocol
-
sessionTicket
-
sessionTicketLifeTimeHint
-
setAllowedNextProtocols
-
setBackendConfiguration
Overloaded function for
setBackendConfiguration(java.util.Map)
withbackendConfiguration = java.util.Collections.emptyMap()
. -
setBackendConfiguration
@QtUninvokable public final void setBackendConfiguration(Map<QByteArray, Object> backendConfiguration) -
setBackendConfigurationOption
-
setCaCertificates
-
setCiphers
-
setCiphers
-
setDiffieHellmanParameters
-
setDtlsCookieVerificationEnabled
-
setEllipticCurves
-
setHandshakeMustInterruptOnError
-
setLocalCertificate
-
setLocalCertificateChain
-
setMissingCertificateIsFatal
-
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 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
-
clone
-