CloudTlsValidationMode

public enum CloudTlsValidationMode

When the SDK connects to the Gallagher Cloud, this controls the certificate validation process. Generally this should be left alone

  • This is the default option for third parties. The SDK will allow connections to any cloud which has a valid certificate trusted by the device operating system.

    Declaration

    Swift

    case anyValidCertificateRequired
  • The SDK will only allow connections to cloud servers which are known to be Gallagher servers. This option is the most secure, however you must keep your Mobile Access SDK up-to-date, as we embed gallagher cloud public keys in the SDK which are what determines the trust, and if those cloud keys change you must upgrade your SDK to avoid client-side breakage*/

    Declaration

    Swift

    case gallagherCertificateRequired
  • DO NOT USE except for development. The SDK will allow connections to any cloud server, regardless of whether it has a valid certificate, is secure, or not.

    Declaration

    Swift

    case allowInvalidCertificate