Interface TlsError


public interface TlsError
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static 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 error
    static 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 UNAVAILABLE
      No TLS provider is available
      See Also:
    • MISC

      static final int MISC
      Miscellaneous TLS error
      See Also:
    • BAD_CERTIFICATE

      static final int BAD_CERTIFICATE
      The certificate presented could not
      be parsed or failed validation.
      See Also:
    • NOT_TLS

      static final int NOT_TLS
      The TLS handshake failed because the
      peer does not seem to be a TLS server.
      See Also:
    • HANDSHAKE

      static final int HANDSHAKE
      The TLS handshake failed because the
      peer's certificate was not acceptable.
      See Also:
    • CERTIFICATE_REQUIRED

      static final int CERTIFICATE_REQUIRED
      The 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 EOF
      The 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_FALLBACK
      The 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_PASSWORD
      The certificate failed
      to load because a password was incorrect. Since: 2.72
      See Also: