Enumerations

The following enumerations are available globally.

  • The result of an attempt to verify an X.509 certificate.

    See more

    Declaration

    Swift

    public enum NIOSSLVerificationResult
  • Errors that can be raised by NIO’s BoringSSL wrapper.

    See more

    Declaration

    Swift

    public enum NIOSSLError : Error
    extension NIOSSLError: Equatable
  • An enum that wraps individual BoringSSL errors directly.

    See more

    Declaration

    Swift

    public enum BoringSSLError : Error
    extension BoringSSLError: Equatable
  • Represents errors that may occur while attempting to unwrap TLS from a connection.

    See more

    Declaration

    Swift

    public enum NIOTLSUnwrappingError : Error
  • Known and supported TLS versions.

    See more

    Declaration

    Swift

    public enum TLSVersion
  • Places NIOSSL can obtain certificates from.

    See more

    Declaration

    Swift

    public enum NIOSSLCertificateSource
  • Places NIOSSL can obtain private keys from.

    See more

    Declaration

    Swift

    public enum NIOSSLPrivateKeySource
  • Places NIOSSL can obtain a trust store from.

    See more

    Declaration

    Swift

    public enum NIOSSLTrustRoots
  • Formats NIOSSL supports for serializing keys and certificates.

    See more

    Declaration

    Swift

    public enum NIOSSLSerializationFormats
  • Certificate verification modes.

    See more

    Declaration

    Swift

    public enum CertificateVerification
  • Support for TLS renegotiation.

    In general, renegotiation should not be enabled except in circumstances where it is absolutely necessary. Renegotiation is only supported in TLS 1.2 and earlier, and generally does not work very well. NIOSSL will disallow most uses of renegotiation: the only supported use-case is to perform post-connection authentication as a client. There is no way to initiate a TLS renegotiation in NIOSSL.

    See more

    Declaration

    Swift

    public enum NIORenegotiationSupport