Package ch.bailu.gtk.gio
Interface TlsError
public interface TlsError
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
The certificate presented could not
be parsed or failed validation.static final int
The certificate failed
to load because a password was incorrect.static final int
The TLS handshake failed because
the server requested a client-side certificate, but none was
provided.static final int
The TLS connection was closed without proper
notice, which may indicate an attack.static final int
The TLS handshake failed because the
peer's certificate was not acceptable.static final int
The TLS handshake failed
because the client sent the fallback SCSV, indicating a protocol
downgrade attack.static final int
Miscellaneous TLS errorstatic final int
The TLS handshake failed because the
peer does not seem to be a TLS server.static final int
No TLS provider is available
-
Field Details
-
UNAVAILABLE
static final int UNAVAILABLENo TLS provider is available- See Also:
-
MISC
static final int MISCMiscellaneous TLS error- See Also:
-
BAD_CERTIFICATE
static final int BAD_CERTIFICATEThe certificate presented could not
be parsed or failed validation.- See Also:
-
NOT_TLS
static final int NOT_TLSThe TLS handshake failed because the
peer does not seem to be a TLS server.- See Also:
-
HANDSHAKE
static final int HANDSHAKEThe TLS handshake failed because the
peer's certificate was not acceptable.- See Also:
-
CERTIFICATE_REQUIRED
static final int CERTIFICATE_REQUIREDThe TLS handshake failed because
the server requested a client-side certificate, but none was
provided. See g_tls_connection_set_certificate().- See Also:
-
EOF
static final int EOFThe TLS connection was closed without proper
notice, which may indicate an attack. See
g_tls_connection_set_require_close_notify().- See Also:
-
INAPPROPRIATE_FALLBACK
static final int INAPPROPRIATE_FALLBACKThe TLS handshake failed
because the client sent the fallback SCSV, indicating a protocol
downgrade attack. Since: 2.60- See Also:
-
BAD_CERTIFICATE_PASSWORD
static final int BAD_CERTIFICATE_PASSWORDThe certificate failed
to load because a password was incorrect. Since: 2.72- See Also:
-