TLSError

public enum TLSError : Error

An error type for errors which may occurr during a TLS/SSL session.

  • Indicates that a TLS/SSL session could not be created.

    Declaration

    Swift

    case sessionNotCreated
  • Indicates that the TLS/SSL handshake between the server and the client failed.

    Declaration

    Swift

    case handshakeFailed
  • Indicates that a certificate could not be loaded.

    Declaration

    Swift

    case importFailed
  • Indicates that a certificate could not be loaded because the data cannot be accessed.

    Declaration

    Swift

    case dataNotAccessible
  • Indicates an unknown TLS/SSL error.

    Declaration

    Swift

    case unknown