CertificateVerification

public enum CertificateVerification

Certificate verification modes.

  • All certificate verification disabled.

    Declaration

    Swift

    case none
  • Certificates will be validated against the trust store, but will not be checked to see if they are valid for the given hostname.

    Declaration

    Swift

    case noHostnameVerification
  • Certificates will be validated against the trust store and checked against the hostname of the service we are contacting.

    Declaration

    Swift

    case fullVerification